3
我使用內置的NLTK和訓練模型後SVM分類,當我嘗試將文檔進行分類,程序與Error during execution, QProcess error: 1 Execution Interrupted
NLTK SVM分類終止
我使用下面的代碼終止: -
classifier = nltk.classify.svm.SvmClassifier.train(train_features)
for test_record in test_data_list:
features = extract_features(test_record)
predict = classifier.classify(features)
print predict
什麼可能是錯誤的原因?