示例#1
0
 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
示例#2
0
 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))  
示例#3
0
 def fold(conf):
     return (conf, kfold.mare(conf, point_list_brd),
             kfold.rmspe(conf, point_list_brd))
示例#4
0
 def fold(conf):
     return (conf,
             kfold.mare(conf, point_list_brd),
             kfold.rmspe(conf, point_list_brd))