(self)
return '\n' + str(tb)
summary of current methods.
summary of current methods.
summary of current methods .
def __repr__(self):
        """summary of current methods."""
        same, effective_cost, method_cost = self._check_and_get_total_cost()
        tb = pt.PrettyTable()
        tb.field_names = ['Methods', 'number_of_different_split', 'performance', 'cost_budget']
        for i in self._data_extracted.keys():
            summary = self._data_summary[i]
            tb.add_row([i, summary.folds,
                        "%.3f ± %.2f" % (summary.mean, summary.std),
                        method_cost[i] if len(method_cost[i]) == 1 else 'Not same budget'])
        return '\n' + str(tb)
def __repr__ ( self ) : same , effective_cost , method_cost = self . _check_and_get_total_cost ( ) tb = pt . PrettyTable ( ) tb . field_names = [ 'Methods' , 'number_of_different_split' , 'performance' , 'cost_budget' ] for i in self . _data_extracted . keys ( ) : summary = self . _data_summary [ i ] tb . add_row ( [ i , summary . folds , "%.3f ± %.2f"  s ummary. m ean, ummary. s td) , method_cost [ i ] if len ( method_cost [ i ] ) == 1 else 'Not same budget' ] ) return '\n' + str ( tb )