Quick SVM question for scikit-learn. When you train an SVM, it\'s something like
from sklearn import svm s = svm.SVC() s.fit(training_data, labels) >
from sklearn import svm s = svm.SVC() s.fit(training_data, labels)
Passing strings as classes directly is on my todo, but it is not supported in the SVMs yet. For the moment, we have the LabelEncoder that can do the book keeping for you.
[edit]This should work now out of the box[/edit]