HoeffdingAdaptiveTreeClassifier does not draw feature engineered variables #581
-
I have created a model with feature engineering. For validating how it works, I have created a sample dataset with y being defined by x1x2. I want to validate if polynomial extender creates x1x2 variable and if HoeffdingAdaptiveTreeClassifier plots this. feature engineering. I can observe that the accuracy increases to about 91% while running this model for 100 data points. But from the drawing of the tree, I cannot find any tree being built. Please refer to the attached notebook. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi @HarshaAsh. Thanks for reporting that. Did you try to increase the value of You could either:
Please, confirm if splits are triggered under these conditions. If not, it may be indeed something wrong going on. |
Beta Was this translation helpful? Give feedback.
Hi @HarshaAsh. Thanks for reporting that. Did you try to increase the value of
split_confidence
? In your toy example, although the grace period is set to 5, the number of features changes when using the polynomial extender. Therefore, I believe 30 observations might not be enough to trigger a split. The tree might not be confident enough about the effectiveness of the observed values so far.You could either:
split_confidence
to, let say,0.01
or even0.1
. Hence, the tree will perform splits even when it's "not sure" about how good they are.Please, confirm if splits are triggered under these conditions. If not, it may be indeed something wrong going on.