def fold(conf): """ Return a result tuple for the given configuration. """ return ( i, # partition_id conf, # KFoldConf object kfold.mare(conf, point_list_brd), # MARE statistic kfold.rmspe(conf, point_list_brd)) # RMSPE statistic
def fold(conf): """ Return a result tuple for the given configuration. """ return (i, # partition_id conf, # KFoldConf object kfold.mare(conf, # MARE statistic point_list_brd, radius_table_brd), kfold.rmspe(conf, # RMSPE statistic point_list_brd, radius_table_brd))
def fold(conf): return (conf, kfold.mare(conf, point_list_brd), kfold.rmspe(conf, point_list_brd))