Skip to content

Commit

Permalink
regression params
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanKharkovskoy committed Dec 26, 2023
1 parent c7d7ab8 commit 11a5395
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 5 deletions.
28 changes: 24 additions & 4 deletions fedot/core/pipelines/tuning/search_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,23 +134,43 @@ def get_parameters_dict(self):
'sampling-scope': [[True, False]],
'type': 'categorical'}
},
'xgbreg': {
'xgboostreg': {
'max_depth': {
'hyperopt-dist': hp.uniformint,
'sampling-scope': [1, 11],
'sampling-scope': [1, 7],
'type': 'discrete'},
'learning_rate': {
'hyperopt-dist': hp.loguniform,
'sampling-scope': [1e-3, 1],
'type': 'continuous'},
'subsample': {
'hyperopt-dist': hp.uniform,
'sampling-scope': [0.05, 1.0],
'sampling-scope': [0.05, 0.99],
'type': 'continuous'},
'min_child_weight': {
'hyperopt-dist': hp.uniformint,
'sampling-scope': [1, 21],
'type': 'discrete'}
'type': 'discrete'},
'booster': {
'hyperopt-dist': hp.choice,
'sampling-scope': [['gbtree', 'dart', 'gblinear']],
'type': 'categorical'},
'lambda': {
'hyperopt-dist': hp.uniformint,
'sampling-scope': [0, 1000],
'type': 'discrete'},
'alpha': {
'hyperopt-dist': hp.uniformint,
'sampling-scope': [0, 1000],
'type': 'discrete'},
'colsample_bytree': {
'hyperopt-dist': hp.uniform,
'sampling-scope': [1e-4, 1],
'type': 'continuous'},
'scale_pos_weight': {
'hyperopt-dist': hp.uniformint,
'sampling-scope': [1, 20],
'type': 'continuous'},
},
'xgboost': {
'max_depth': {
Expand Down
11 changes: 10 additions & 1 deletion fedot/core/repository/data/default_operation_params.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,16 @@
"n_jobs": 1,
"verbosity": 0,
"booster": "gbtree",
"tree_method": "auto"
"tree_method": "auto",
"enable_categorical": true
},
"xgboostreg": {
"eval_metric": "mlogloss",
"n_jobs": 1,
"verbosity": 0,
"booster": "gbtree",
"tree_method": "auto",
"enable_categorical": true
},
"catboost": {
"allow_writing_files": false,
Expand Down

0 comments on commit 11a5395

Please sign in to comment.