将
X_test = vec.fit_transform(X_test)
换为
X_test = vec.transform(X_test)
原文解答
http://stackoverflow.com/questions/12484310/scipy-and-scikit-learn-valueerror-dimension-mismatch
```
将
X_test = vec.fit_transform(X_test)
换为
X_test = vec.transform(X_test)
原文解答
http://stackoverflow.com/questions/12484310/scipy-and-scikit-learn-valueerror-dimension-mismatch
```
本文标题:naive_bayes ValueError: dimensio
本文链接:https://www.haomeiwen.com/subject/kyifgttx.html
网友评论