ART XGBoostClassifier Classifier Parameters Optimization Suggestions #1404
vincentliuheyang
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
Hi @vincentliuheyang Thank you very much for your interest in ART! Your description is correct. Would you be interested to implement the fit method? If yes, we would be happy to merge your code into ART. In that case I would suggest to extend |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
One thing I found interesting is that you did not implement fit model for tree models. Still, I am trying to implement the fit method on my own, so I imherit the XGBoostClassifier model to implement myself.
However, I found one thing that might be problematic is that if I am passing a unfitted
xgboost.XGBClassifier
, then the model is going to tell meI found the problem is caused by this method structure:
For XGBClassifier I passed in, if the model is unfitted, it does not have the attribute
n_classes_
. Then I cannot pass through the unfitted model to proceed.Describe the solution you'd like
This issue might be minor, but I think if you could check if the
XGBClassifier
is fitted or not before return then_classes_
would be better if I am going to pass in an unfitted model.Thank you
Beta Was this translation helpful? Give feedback.
All reactions