diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2022-03-01 08:20:55 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2022-03-01 08:20:55 +0100 |
commit | 8813bc4f07bcb6960845beef1d0908bade927215 (patch) | |
tree | df70ac69eff841274f254ad11d7110a407ff1db6 /lib | |
parent | 2c3e1ddceb88fd7ea6c3090fc48d27407ce751b1 (diff) |
LMT: set max depth to 20
Diffstat (limited to 'lib')
-rw-r--r-- | lib/parameters.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parameters.py b/lib/parameters.py index d708401..bca189e 100644 --- a/lib/parameters.py +++ b/lib/parameters.py @@ -1014,7 +1014,7 @@ class ModelAttribute: from sklearn.linear_model import LinearRegression from dfatool.lineartree import LinearTreeRegressor - lmt = LinearTreeRegressor(base_estimator=LinearRegression()) + lmt = LinearTreeRegressor(base_estimator=LinearRegression(), max_depth=20) fit_parameters, category_to_index, ignore_index = param_to_ndarray( parameters, with_nan=False, categorial_to_scalar=categorial_to_scalar ) |