Closed moteleolu closed 5 years ago
My integration testing code uses GradientBoostingRegressor
directly, and the value of learning_rate
attribute shows up on the Java side as java.lang.Number
.
The transformation from Number
to Numpy scalar must be happening because of BayesSearchCV
.
Needs more systematic investigation and fixing.
@vruusmann Related to what you said here, and fixed here for nearest neighbors when I'm working with
GradientBoostingTrees
andBayesSearchCV
, the learning rate gets wrapped as a numpy scalar and encoding the model fails.