Skip to content

Commit

Permalink
Merge pull request #245 from Thilakraj1998/main
Browse files Browse the repository at this point in the history
Minor config chaange
  • Loading branch information
Thilakraj1998 committed Aug 11, 2023
2 parents 546fe33 + 9fab370 commit 7cbaa5e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions blobcity/config/regressor_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ class regressor_config:
"criterion":{'str':['squared_error', 'friedman_mse', 'absolute_error', 'poisson']},
"splitter":{'str':['random','best']},
"max_features":{"str":["auto", "sqrt", "log2"]},
"max_depth":{'int':[3,50]}
"max_depth":{'int':[3,18]}
}
],
"RandomForestRegressor":[
ensemble.RandomForestRegressor,
{
"criterion":{'str':['squared_error']},
"n_estimators":{'int':[50,1000]},
"n_estimators":{'int':[50,500]},
"max_features":{"str":["auto", "sqrt", "log2"]},
"max_depth":{'int':[3,18]},
'n_jobs':{'str':[-1]}
Expand Down Expand Up @@ -212,7 +212,7 @@ class regressor_config:
XGBRegressor,
{
"n_estimators":{'int':[100, 5000]},
"max_depth":{'int':[3,16]},
"max_depth":{'int':[3,18]},
"learning_rate":{'float':[1e-3,0.1]},
"booster":{'str':['gbtree', 'gblinear', 'dart']},
'reg_alpha': {'float':[1e-3,0.1]},
Expand Down Expand Up @@ -246,7 +246,7 @@ class regressor_config:
"boosting_type":{'str':['gbdt', 'dart','rf']},
"num_leaves":{'int':[5, 30]},
"learning_rate":{'float':[1e-4,1e-2]},
"max_depth":{'int':[3,16]},
"max_depth":{'int':[3,18]},
"n_estimators":{'int':[100, 2000]},
'bagging_fraction':{'float':[0.1,0.9]},
'subsample_freq':{'int':[5,10]},
Expand All @@ -260,7 +260,7 @@ class regressor_config:
"l2_leaf_reg":{'float':[1e-3, 1.0]},
"loss_function":{'str': ["RMSE", "MultiRMSE"]},
"iterations":{'int':[200, 1000]},
"max_depth":{'int':[3,16]},
"max_depth":{'int':[3,18]},
"verbose":{'bool':[False]},
}
],
Expand All @@ -269,7 +269,7 @@ class regressor_config:
{
"max_iter":{'int':[1000,10000]},
"epsilon":{'float':[1e-3,1]},
"loss":{"str":['huber','epsilon_insensitive','squared_epsilon_insensitive','squared_loss']},
"loss":{"str":['epsilon_insensitive','squared_epsilon_insensitive']},
"tol":{'float':[1e-3,0.1]}
}
],
Expand Down

0 comments on commit 7cbaa5e

Please sign in to comment.