Skip to content

Commit 42dc539

Browse files
docs
1 parent d611b57 commit 42dc539

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

API_REFERENCE_FOR_CLASSIFICATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Specifies the maximum number of bins to discretize the data into when searching
2626
***0*** does not print progress reports during fitting. ***1*** prints a summary after running the ***fit*** method. ***2*** prints a summary after each boosting step.
2727

2828
#### max_interaction_level (default = 1)
29-
Specifies the maximum allowed depth of interaction terms. ***0*** means that interactions are not allowed. This hyperparameter should be tuned.
29+
Specifies the maximum allowed depth of interaction terms. ***0*** means that interactions are not allowed. This hyperparameter should be tuned by for example doing a grid search for best predictiveness. For best interpretability use 0 (or 1 if interactions are needed).
3030

3131
#### max_interactions (default = 100000)
3232
The maximum number of interactions allowed in each underlying model. A lower value may be used to reduce computational time.

API_REFERENCE_FOR_REGRESSION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The number of randomly split folds to use in cross validation. The number of boo
2929
Specifies the maximum number of bins to discretize the data into when searching for the best split. The default value works well according to empirical results. This hyperparameter is intended for reducing computational costs. Must be greater than 1.
3030

3131
#### max_interaction_level (default = 1)
32-
Specifies the maximum allowed depth of interaction terms. ***0*** means that interactions are not allowed. This hyperparameter should be tuned.
32+
Specifies the maximum allowed depth of interaction terms. ***0*** means that interactions are not allowed. This hyperparameter should be tuned by for example doing a grid search for best predictiveness. For best interpretability use 0 (or 1 if interactions are needed).
3333

3434
#### max_interactions (default = 100000)
3535
The maximum number of interactions allowed in each underlying model. A lower value may be used to reduce computational time.
Binary file not shown.

examples/train_aplr_classification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
best_validation_result = np.inf
3939
param_grid = ParameterGrid(
4040
{
41-
"max_interaction_level": [0, 1, 2, 3, 100],
41+
"max_interaction_level": [0, 1],
4242
"min_observations_in_split": [1, 20, 40],
4343
}
4444
)

examples/train_aplr_regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
best_validation_result = np.inf
3636
param_grid = ParameterGrid(
3737
{
38-
"max_interaction_level": [0, 1, 2, 3, 100],
38+
"max_interaction_level": [0, 1],
3939
"min_observations_in_split": [1, 20, 50, 100, 200],
4040
}
4141
)

0 commit comments

Comments
 (0)