在BinaryLogisticRegressionSummary中的areaUnderROC和Spark ML中的BinaryClassificationEvaluator有什么区别?

我在BinaryLogisticRegressionSummary和BinaryClassificationEvaluator中都看到了areaUnderROC . 它们之间有什么区别?

如果我的目标是在保留样本中找到AUC,我如何在BinaryLogisticRegressionSummary和BinaryClassificationEvaluator之间进行选择?

注意:我可以同时申请保留样本 .

Links

BinaryLogisticRegressionSummary

https://spark.apache.org/docs/2.2.0/api/python/pyspark.ml.html#pyspark.ml.classification.BinaryLogisticRegressionSummary

BinaryClassificationEvaluator

https://spark.apache.org/docs/2.2.0/api/python/pyspark.ml.html#pyspark.ml.evaluation.BinaryClassificationEvaluator

回答(0)