I'm using scikit learn for document classification and i would like to know if there is a way to predict more than one classe (with the coresponding probability)
Here is the code i'm using :
vectorizer = CountVectorizer(max_df=4000, min_df=4, strip_accents="unicode", analyzer="word", max_features=4000,stop_words=stopwords, charset="utf-8", token_pattern="\w{4,}")
x1_vect=vectorizer.fit_transform(x1)
clf = OneVsRestClassifier(LinearSVC())
#or
#clf = MultinomialNB()
clf.fit(x1_vect,y1)
prediction = clf.predict(xpred_vect)
I get only on prediction and would like to have more (with corresponding probability)