Class LogisticRegressionSummaryImpl
Object
org.apache.spark.ml.classification.LogisticRegressionSummaryImpl
 All Implemented Interfaces:
Serializable
,ClassificationSummary
,LogisticRegressionSummary
,scala.Serializable
 Direct Known Subclasses:
BinaryLogisticRegressionSummaryImpl
,LogisticRegressionTrainingSummaryImpl
Multiclass logistic regression results for a given model.
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.
param: weightCol field in "predictions" which gives the weight of each instance.
 See Also:

Constructor Summary

Method Summary
Modifier and TypeMethodDescriptionField in "predictions" which gives the features of each instance as a vector.labelCol()
Field in "predictions" which gives the true label of each instance (if available).Field in "predictions" which gives the prediction of each class.Dataframe output by the model'stransform
method.Field in "predictions" which gives the probability of each class as a vector.Field in "predictions" which gives the weight of each instance.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.spark.ml.classification.ClassificationSummary
accuracy, falsePositiveRateByLabel, fMeasureByLabel, fMeasureByLabel, labels, precisionByLabel, recallByLabel, truePositiveRateByLabel, weightedFalsePositiveRate, weightedFMeasure, weightedFMeasure, weightedPrecision, weightedRecall, weightedTruePositiveRate
Methods inherited from interface org.apache.spark.ml.classification.LogisticRegressionSummary
asBinary

Constructor Details

LogisticRegressionSummaryImpl


Method Details

featuresCol
Description copied from interface:LogisticRegressionSummary
Field in "predictions" which gives the features of each instance as a vector. Specified by:
featuresCol
in interfaceLogisticRegressionSummary

labelCol
Description copied from interface:ClassificationSummary
Field in "predictions" which gives the true label of each instance (if available). Specified by:
labelCol
in interfaceClassificationSummary

predictionCol
Description copied from interface:ClassificationSummary
Field in "predictions" which gives the prediction of each class. Specified by:
predictionCol
in interfaceClassificationSummary

predictions
Description copied from interface:ClassificationSummary
Dataframe output by the model'stransform
method. Specified by:
predictions
in interfaceClassificationSummary
 Returns:
 (undocumented)

probabilityCol
Description copied from interface:LogisticRegressionSummary
Field in "predictions" which gives the probability of each class as a vector. Specified by:
probabilityCol
in interfaceLogisticRegressionSummary

weightCol
Description copied from interface:ClassificationSummary
Field in "predictions" which gives the weight of each instance. Specified by:
weightCol
in interfaceClassificationSummary
