Skip to content

Instantly share code, notes, and snippets.

@j450h1
Created June 14, 2020 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save j450h1/6c53c1879944449ae39bea0f2bfd42ea to your computer and use it in GitHub Desktop.
Save j450h1/6c53c1879944449ae39bea0f2bfd42ea to your computer and use it in GitHub Desktop.
f1_gbt = MulticlassClassificationEvaluator(labelCol="indexedLabel", metricName='f1').evaluate(predictions_gbt)
print('F1', f1_gbt)
F1 0.7115836101882613
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment