scikit-learn/scikit-learn — Issue #556: Accept arbitrary object as class labels
Author: amueller
Created: 2012-01-15 20:26:57+00:00
State: open

It was recently argued on the mailing list that class labels could be arbitrary unique identifiers.
As far as I can see, this approach was taken in the DecisionTrees.

If we agree this is a good idea, we should factor out the code that maps objects to array indexes (as I guess
that is needed in most classifiers) and do this consistently across all classifiers.