Closed jckkvs closed 1 year ago
Thanks for your interest and contribution to the package!
Did this actually fix an error that was being thrown in #176? I would prefer not to to have the model be initialized in the function definition (since it will be evaluated every time someone imports the package), but if it is fixing an actual error than we can do it.
@csinva
I don't fully understand your code, but I'm wondering what you implement partial(DecisionTreeRegressor, max_depth=1) for.
since it will be evaluated every time someone imports the package
Sorry, I don't quite understand what you mean above, but this fixing can solve the error.
ref. https://scikit-learn.org/stable/developers/develop.html