Last active
June 14, 2020 04:15
-
-
Save j450h1/d23af75a2f1f2026ff0feb1bd2d2b770 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
rf_f1 = MulticlassClassificationEvaluator(labelCol="indexedLabel",metricName='f1').evaluate(predictions) | |
print('F1 Score', rf_f1) | |
F1 Score 0.6919632934386234 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment