Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sentiment analysis
from sklearn.svm import SVC
clf=SVC()
clf.fit(x_train_tfidf,y_train)
y_pred=clf.predict(x_test_tfidf)
print(y_pred, y_test)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment