@@ -291,11 +291,11 @@ def gen_reg_data(x_mu=10., x_sigma=1., num_samples=100, num_features=3, y_formul
291291
292292def run_all_regressors (x , y , small = True , normalize_x = True , n_jobs = cpu_count ()- 1 , brain = False , test_size = 0.2 , n_splits = 5 , upsample = True , scoring = None , verbose = False ):
293293 all_params = (linear_models_n_params_small if small else linear_models_n_params ) + (nn_models_n_params_small if small else nn_models_n_params ) + ([] if small else gaussianprocess_models_n_params ) + neighbor_models_n_params + (svm_models_n_params_small if small else svm_models_n_params ) + (tree_models_n_params_small if small else tree_models_n_params )
294- return main_loop (all_params , StandardScaler ().fit_transform (x ) if normalize_x else x , y , isClassification = False , n_jobs = n_jobs , brain = brain )
294+ return main_loop (all_params , StandardScaler ().fit_transform (x ) if normalize_x else x , y , isClassification = False , n_jobs = n_jobs , brain = brain , test_size = test_size , n_splits = n_splits , upsample = upsample , scoring = scoring , verbose = verbose )
295295
296296
297297class HungaBungaRegressor (RegressorMixin ):
298- def __init__ (self , brain = False , test_size = 0.2 , n_splits = 5 , random_state = None , upsample = True , scoring = None , verbose = True , normalize_x = True , n_jobs = cpu_count () - 1 ):
298+ def __init__ (self , brain = False , test_size = 0.2 , n_splits = 5 , random_state = None , upsample = True , scoring = None , verbose = False , normalize_x = True , n_jobs = cpu_count () - 1 ):
299299 self .model = None
300300 self .brain = brain
301301 self .test_size = test_size
0 commit comments