public interface BinaryLogisticRegressionSummary extends LogisticRegressionSummary
Currently, the summary ignores the instance weights.
Modifier and Type | Method and Description |
---|---|
double |
areaUnderROC()
Computes the area under the receiver operating characteristic (ROC) curve.
|
Dataset<Row> |
fMeasureByThreshold()
Returns a dataframe with two fields (threshold, F-Measure) curve with beta = 1.0.
|
Dataset<Row> |
pr()
Returns the precision-recall curve, which is a Dataframe containing
two fields recall, precision with (0.0, 1.0) prepended to it.
|
Dataset<Row> |
precisionByThreshold()
Returns a dataframe with two fields (threshold, precision) curve.
|
Dataset<Row> |
recallByThreshold()
Returns a dataframe with two fields (threshold, recall) curve.
|
Dataset<Row> |
roc()
Returns the receiver operating characteristic (ROC) curve,
which is a Dataframe having two fields (FPR, TPR)
with (0.0, 0.0) prepended and (1.0, 1.0) appended to it.
|
accuracy, asBinary, falsePositiveRateByLabel, featuresCol, fMeasureByLabel, fMeasureByLabel, labelCol, labels, precisionByLabel, predictionCol, predictions, probabilityCol, recallByLabel, truePositiveRateByLabel, weightedFalsePositiveRate, weightedFMeasure, weightedFMeasure, weightedPrecision, weightedRecall, weightedTruePositiveRate
double areaUnderROC()
LogisticRegression.weightCol
.
This will change in later Spark versions.Dataset<Row> fMeasureByThreshold()
LogisticRegression.weightCol
.
This will change in later Spark versions.Dataset<Row> pr()
LogisticRegression.weightCol
.
This will change in later Spark versions.Dataset<Row> precisionByThreshold()
LogisticRegression.weightCol
.
This will change in later Spark versions.Dataset<Row> recallByThreshold()
LogisticRegression.weightCol
.
This will change in later Spark versions.Dataset<Row> roc()
LogisticRegression.weightCol
.
This will change in later Spark versions.