Skip to content

Commit 647dc87

Browse files
authored
Update README.rst
1 parent 9f40d7d commit 647dc87

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,10 @@ decad
778778
779779
text_clf.fit(X_train, y_train)
780780
781+
predicted = text_clf.predict(X_test)
782+
783+
print(metrics.classification_report(y_test, predicted))
784+
781785
Output:
782786

783787
.. code:: python
@@ -808,9 +812,7 @@ Output:
808812
avg / total 0.67 0.66 0.66 7532
809813
810814
811-
predicted = text_clf.predict(X_test)
812815
813-
print(metrics.classification_report(y_test, predicted))
814816
815817
816818

0 commit comments

Comments
 (0)