Topic Modeling, Unsupervised Learning, Machine Learning, Data Science, Classification.
method, let’s evaluate our classification pipeline on our test data. from sklearn.metrics import classification_report y_pred = cls_pipeline.predict(X_test) print(classification_report(y_test, y_pred)) precision recall f1-score support False 0.98 0.98 0.98 4475 True 0.65 0.70 0.68 237 accuracy 0.97