Closed ablaom closed 2 years ago
ok, thanks, I'll have a look on this in the (EU) afternoon... cheers
Solved in the newly released v 0.6 (also for PerceptronClassifier and PegasosClassifier).
Thanks @sylvaticus for this speedy fix. Much appreciated.
That last indicates a bug, as all levels in the pool of the training vector should be present in the pool of the predictions.
Curiously in other classifiers I looked at, the levels are indeed being tracked correctly. So perhaps have a look at, eg, the BetaML DecisionTreeClassifier to see how this can be corrected.
This bug is causing a failure when the model is bagged in an ensemble using
EnsembleModel
because some classes are not present in some of the bagged observations, but are present in others.