public class LogisticRegressionSummaryImpl extends Object implements LogisticRegressionSummary
param: predictions dataframe output by the model's transform method.
param: probabilityCol field in "predictions" which gives the probability of
each class as a vector.
param: predictionCol field in "predictions" which gives the prediction for a data instance as a
double.
param: labelCol field in "predictions" which gives the true label of each instance.
param: featuresCol field in "predictions" which gives the features of each instance as a vector.
| Constructor and Description |
|---|
LogisticRegressionSummaryImpl(Dataset<Row> predictions,
String probabilityCol,
String predictionCol,
String labelCol,
String featuresCol) |
| Modifier and Type | Method and Description |
|---|---|
String |
featuresCol()
Field in "predictions" which gives the features of each instance as a vector.
|
String |
labelCol()
Field in "predictions" which gives the true label of each instance (if available).
|
String |
predictionCol()
Field in "predictions" which gives the prediction of each class.
|
Dataset<Row> |
predictions()
Dataframe output by the model's
transform method. |
String |
probabilityCol()
Field in "predictions" which gives the probability of each class as a vector.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccuracy, asBinary, falsePositiveRateByLabel, fMeasureByLabel, fMeasureByLabel, labels, multiclassMetrics, precisionByLabel, recallByLabel, truePositiveRateByLabel, weightedFalsePositiveRate, weightedFMeasure, weightedFMeasure, weightedPrecision, weightedRecall, weightedTruePositiveRatepublic String featuresCol()
LogisticRegressionSummaryfeaturesCol in interface LogisticRegressionSummarypublic String labelCol()
LogisticRegressionSummarylabelCol in interface LogisticRegressionSummarypublic String predictionCol()
LogisticRegressionSummarypredictionCol in interface LogisticRegressionSummarypublic Dataset<Row> predictions()
LogisticRegressionSummarytransform method.predictions in interface LogisticRegressionSummarypublic String probabilityCol()
LogisticRegressionSummaryprobabilityCol in interface LogisticRegressionSummary