Replies: 1 comment 2 replies
-
Interesting question - we might well not support single class classification. @Alexsandruss, @ahuber21 - can you comment? |
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
-
I noticed different behaviors for the random forest classifier implementations between sklearn and intelex for the case of single class training data. Anyone out there help me understand this one?
In sklearn it seems training data for a multi-class random forest classifier can have a single class:
When I used the intelex random forest implementation on training data that contained only one class:
File "daal4py/sklearn/ensemble/_forest.py", line 184, in _daal_fit_classifier
raise ValueError(
ValueError: Training data only contain information about one class.
Beta Was this translation helpful? Give feedback.
All reactions