public class MultilayerPerceptronClassificationSummaryImpl extends Object implements MultilayerPerceptronClassificationSummary
param: predictions dataframe output by the model's transform
method.
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: weightCol field in "predictions" which gives the weight of each instance.
Constructor and Description |
---|
MultilayerPerceptronClassificationSummaryImpl(Dataset<Row> predictions,
String predictionCol,
String labelCol,
String weightCol) |
Modifier and Type | Method and Description |
---|---|
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 |
weightCol()
Field in "predictions" which gives the weight of each instance.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accuracy, falsePositiveRateByLabel, fMeasureByLabel, fMeasureByLabel, labels, precisionByLabel, recallByLabel, truePositiveRateByLabel, weightedFalsePositiveRate, weightedFMeasure, weightedFMeasure, weightedPrecision, weightedRecall, weightedTruePositiveRate
public String labelCol()
ClassificationSummary
labelCol
in interface ClassificationSummary
public String predictionCol()
ClassificationSummary
predictionCol
in interface ClassificationSummary
public Dataset<Row> predictions()
ClassificationSummary
transform
method.predictions
in interface ClassificationSummary
public String weightCol()
ClassificationSummary
weightCol
in interface ClassificationSummary