(self)
return '\n' + str(tb)
summary of current methods.
summary of current methods.
summary of current methods .
def __repr__(self):
        """summary of current methods."""
        tb = pt.PrettyTable()
        tb.field_names = ['Methods', 'number_of_queries', 'number_of_different_split', 'performance']
        for i in self._data_extracted.keys():
            summary = self._data_summary[i]
            tb.add_row([i, summary.effective_length, summary.folds,
                        "%.3f ± %.2f" % (summary.mean, summary.std)])
        if self._is_all_stateio:
            tb.add_column('batch_size', [
                self._data_summary[i].batch_size if self._data_summary[i].batch_flag else 'Not_same_batch_size' for i
                in self._data_extracted.keys()])
        return '\n' + str(tb)
def __repr__ ( self ) : tb = pt . PrettyTable ( ) tb . field_names = [ 'Methods' , 'number_of_queries' , 'number_of_different_split' , 'performance' ] for i in self . _data_extracted . keys ( ) : summary = self . _data_summary [ i ] tb . add_row ( [ i , summary . effective_length , summary . folds , "%.3f ± %.2f"  s ummary. m ean, ummary. s td) ] ) if self . _is_all_stateio : tb . add_column ( 'batch_size' , [ self . _data_summary [ i ] . batch_size if self . _data_summary [ i ] . batch_flag else 'Not_same_batch_size' for i in self . _data_extracted . keys ( ) ] ) return '\n' + str ( tb )