def reset(self):
        """Resets the internal evaluation result to initial state."""
        self.num_inst = 0
        self.sum_metric = 0.0
        self.global_num_inst = 0
        self.global_sum_metric = 0.0
def reset ( self ) : self . num_inst = 0 self . sum_metric = 0.0 self . global_num_inst = 0 self . global_sum_metric = 0.0
Resets the internal evaluation result to initial state.