Skip to content

Commit

Permalink
feat: change learning rate values in grid
Browse files Browse the repository at this point in the history
  • Loading branch information
desilinguist committed Jun 26, 2023
1 parent 60274f6 commit 143ff09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doc/run_experiment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1110,14 +1110,14 @@ GradientBoostingClassifier and GradientBoostingRegressor
HistGradientBoostingClassifier
.. code-block:: python
{'learning_rate': [0.1, 0.5, 1.0],
{'learning_rate': [0.01, 0.1, 1.0],
'min_samples_leaf': [10, 20, 40]}
HistGradientBoostingRegressor
.. code-block:: python
{'loss': ['squared_error', 'absolute_error', 'poisson'],
'learning_rate': [0.1, 0.5, 1.0],
'learning_rate': [0.01, 0.1, 1.0],
'min_samples_leaf': [10, 20, 40]}
HuberRegressor
Expand Down
4 changes: 2 additions & 2 deletions skll/utils/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@
GradientBoostingClassifier: {"max_depth": [1, 3, 5]},
GradientBoostingRegressor: {"max_depth": [1, 3, 5]},
HistGradientBoostingClassifier: {
"learning_rate": [0.1, 0.5, 1.0],
"learning_rate": [0.01, 0.1, 1.0],
"min_samples_leaf": [10, 20, 40],
},
HistGradientBoostingRegressor: {
"loss": ["squared_error", "absolute_error", "poisson"],
"learning_rate": [0.1, 0.5, 1.0],
"learning_rate": [0.01, 0.1, 1.0],
"min_samples_leaf": [10, 20, 40],
},
HuberRegressor: {
Expand Down

0 comments on commit 143ff09

Please sign in to comment.