original_docstring: 
          Averages the results of all iterations.
          
docstring: Averages the results of all iterations.
docstring_tokens: Averages the results of all iterations .
code: def average_results(self):
          """
          Averages the results of all iterations.
          """
          self.auc_avg = np.mean(np.array(self.auc), axis=0)
          self.auc_min_avg = np.mean(np.array(self.auc_min), axis=0)
          self.auc_max_avg = np.mean(np.array(self.auc_max), axis=0)
          self.auc_macro_avg = np.mean(np.array(self.auc_macro), axis=0)
          self.auc_minority_avg = np.mean(np.array(self.auc_minority), axis=0)
  
          self.auc_std = np.std(np.array(self.auc), axis=0)
          self.auc_min_std = np.std(np.array(self.auc_min), axis=0)
          self.auc_max_std = np.std(np.array(self.auc_max), axis=0)
          self.auc_macro_std = np.std(np.array(self.auc_macro), axis=0)
          self.auc_minority_std = np.std(np.array(self.auc_minority), axis=0)
  
          self.posnegs_avg = np.mean(np.array(self.posnegs), axis=0)
          self.acc_avg = np.mean(np.array(self.auc), axis=0)
          self.steps = np.arange(self.eval_every, len(self.auc_avg)*self.eval_every+self.eval_every, self.eval_every)
code_tokens: def average_results ( self ) : self . auc_avg = np . mean ( np . array ( self . auc ) , axis = 0 ) self . auc_min_avg = np . mean ( np . array ( self . auc_min ) , axis = 0 ) self . auc_max_avg = np . mean ( np . array ( self . auc_max ) , axis = 0 ) self . auc_macro_avg = np . mean ( np . array ( self . auc_macro ) , axis = 0 ) self . auc_minority_avg = np . mean ( np . array ( self . auc_minority ) , axis = 0 ) self . auc_std = np . std ( np . array ( self . auc ) , axis = 0 ) self . auc_min_std = np . std ( np . array ( self . auc_min ) , axis = 0 ) self . auc_max_std = np . std ( np . array ( self . auc_max ) , axis = 0 ) self . auc_macro_std = np . std ( np . array ( self . auc_macro ) , axis = 0 ) self . auc_minority_std = np . std ( np . array ( self . auc_minority ) , axis = 0 ) self . posnegs_avg = np . mean ( np . array ( self . posnegs ) , axis = 0 ) self . acc_avg = np . mean ( np . array ( self . auc ) , axis = 0 ) self . steps = np . arange ( self . eval_every , len ( self . auc_avg ) * self . eval_every + self . eval_every , self . eval_every )
short_docstring: Averages the results of all iterations.
short_docstring_tokens: Averages the results of all iterations .
comment: """
          Averages the results of all iterations.
          """