How to evaluate trained model in spark?
gbtclassifierevaluator = BinaryClassificationEvaluator() print("Test Area Under ROC: " + str(gbtclassifierevaluator\ .evaluate(predictions, {gbtclassifierevaluator.metricName: "areaUnderROC"})))
Not a member yet? Register now
Are you a member? Login now