2016-03-17 55 views

回答

1

當然,僅僅使用predict方法。繼續參考問題的示例

X_new = vectorizer.transform([sentence]) 
y_new = model.predict(X_new)