2016-03-17 56 views

回答

1

当然,仅仅使用predict方法。继续参考问题的示例

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