将
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
```