We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f40d7d commit 647dc87Copy full SHA for 647dc87
1 file changed
README.rst
@@ -778,6 +778,10 @@ decad
778
779
text_clf.fit(X_train, y_train)
780
781
+ predicted = text_clf.predict(X_test)
782
+
783
+ print(metrics.classification_report(y_test, predicted))
784
785
Output:
786
787
.. code:: python
@@ -808,9 +812,7 @@ Output:
808
812
avg / total 0.67 0.66 0.66 7532
809
813
810
814
811
-predicted = text_clf.predict(X_test)
815
-print(metrics.classification_report(y_test, predicted))
816
817
818
0 commit comments