-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decision tree class refactor #3972
Comments
I have some ideas about refactoring. But somehow they seemed to be connected together. For example, changing reg tree may affect the JSON format we are trying to hammer out. |
Another related topic is whether we need the tree model as template, which increases build time significantly as we are putting IO logic in that class. |
@trivialfis RFC will be up in a day. Sorry for the delay. I have been arranging a move to California lately. |
There is still a little more to do. My idea was to make all of the internal vectors inside the regression tree private so that we can only access it through safe public methods, preventing misuse of the class. All of the ground work is done I just need to spend a little time finishing it off. |
This was a little more complicated than I thought, I'm going to close this for now. |
I propose a refactor of the regression tree class with the following objectives in mind:
To do this we can do it in two phases:
The text was updated successfully, but these errors were encountered: