Interface RandomForestClassificationSummary
- All Superinterfaces:
ClassificationSummary
,Serializable
- All Known Subinterfaces:
BinaryRandomForestClassificationTrainingSummary
,RandomForestClassificationTrainingSummary
- All Known Implementing Classes:
BinaryRandomForestClassificationSummaryImpl
,BinaryRandomForestClassificationTrainingSummaryImpl
,RandomForestClassificationSummaryImpl
,RandomForestClassificationTrainingSummaryImpl
Abstraction for multiclass RandomForestClassification results for a given model.
-
Method Summary
Modifier and TypeMethodDescriptionasBinary()
Convenient method for casting to BinaryRandomForestClassificationSummary.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
-
Method Details
-
asBinary
BinaryRandomForestClassificationSummary asBinary()Convenient method for casting to BinaryRandomForestClassificationSummary. This method will throw an Exception if the summary is not a binary summary.- Returns:
- (undocumented)
-