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