Created
June 14, 2020 05:51
-
-
Save j450h1/20614c4ae7af78d2d209df9839a8ca1e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# evaluate the model with test set | |
evaluator = MulticlassClassificationEvaluator() | |
print('F1-Score ', evaluator.evaluate(prediction {evaluator.metricName: 'f1'})) | |
F1-Score 0.6736596736596737 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment