It's not possible to set the number of trees for gradient boosting (classifier & regressor).
Desired solution
Add a new parameter number_of_trees: int to the initializer of safeds.ml.classical.classification.GradientBoosting and safeds.ml.classical.regression.GradientBoosting
Raise a value error if number_of_trees < 1
Pass it along to n_estimators of the wrapped scikit-learn model in the fit method
Is your feature request related to a problem?
It's not possible to set the number of trees for gradient boosting (classifier & regressor).
Desired solution
number_of_trees: int
to the initializer ofsafeds.ml.classical.classification.GradientBoosting
andsafeds.ml.classical.regression.GradientBoosting
number_of_trees
< 1n_estimators
of the wrappedscikit-learn
model in thefit
methodPossible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response