Observed classes #716
-
Hi, Where does a model such as Logistic Regression, or the ensemble ADWINBaggingClassifier store the observed classes? The Hoeffding Adaptive Tree stores the observed clases in the attribute classes. However, the models mentioned first do not have such attribute. Thanks for your help. Best, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @gintriago12, |
Beta Was this translation helpful? Give feedback.
Hi @gintriago12,
Logistic Regression
orADWINBaggingClassifier
do not store the observed classes.Logistic Regression
andADWINBaggingClassifier
do not needs such attribute to learn or predict. If you need to know the frequency of the target variable during training, you can use collections.Counter in the training loop. 🙂