Interface BinaryLogisticRegressionSummary
- All Superinterfaces:
BinaryClassificationSummary
,ClassificationSummary
,LogisticRegressionSummary
,Serializable
- All Known Subinterfaces:
BinaryLogisticRegressionTrainingSummary
- All Known Implementing Classes:
BinaryLogisticRegressionSummaryImpl
,BinaryLogisticRegressionTrainingSummaryImpl
public interface BinaryLogisticRegressionSummary
extends LogisticRegressionSummary, BinaryClassificationSummary
Abstraction for binary logistic regression results for a given model.
-
Method Summary
Methods inherited from interface org.apache.spark.ml.classification.BinaryClassificationSummary
areaUnderROC, fMeasureByThreshold, pr, precisionByThreshold, recallByThreshold, roc
Methods inherited from interface org.apache.spark.ml.classification.ClassificationSummary
accuracy, falsePositiveRateByLabel, fMeasureByLabel, fMeasureByLabel, labelCol, labels, precisionByLabel, predictionCol, predictions, recallByLabel, truePositiveRateByLabel, weightCol, weightedFalsePositiveRate, weightedFMeasure, weightedFMeasure, weightedPrecision, weightedRecall, weightedTruePositiveRate
Methods inherited from interface org.apache.spark.ml.classification.LogisticRegressionSummary
asBinary, featuresCol, probabilityCol
-
Method Details
-
scoreCol
String scoreCol()Description copied from interface:BinaryClassificationSummary
Field in "predictions" which gives the probability or rawPrediction of each class as a vector.- Specified by:
scoreCol
in interfaceBinaryClassificationSummary
- Returns:
- (undocumented)
-