public class FMClassificationTrainingSummaryImpl extends FMClassificationSummaryImpl implements FMClassificationTrainingSummary
param: predictions dataframe output by the model's transform method.
param: scoreCol field in "predictions" which gives the probability of each instance.
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.
param: objectiveHistory objective function (scaled loss + regularization) at each iteration.
| Constructor and Description |
|---|
FMClassificationTrainingSummaryImpl(Dataset<Row> predictions,
String scoreCol,
String predictionCol,
String labelCol,
String weightCol,
double[] objectiveHistory) |
| Modifier and Type | Method and Description |
|---|---|
double[] |
objectiveHistory()
objective function (scaled loss + regularization) at each iteration.
|
areaUnderROC, fMeasureByThreshold, labelCol, pr, precisionByThreshold, predictionCol, predictions, recallByThreshold, roc, scoreCol, weightColequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitareaUnderROC, fMeasureByThreshold, pr, precisionByThreshold, recallByThreshold, roc, scoreColaccuracy, falsePositiveRateByLabel, fMeasureByLabel, fMeasureByLabel, labelCol, labels, precisionByLabel, predictionCol, predictions, recallByLabel, truePositiveRateByLabel, weightCol, weightedFalsePositiveRate, weightedFMeasure, weightedFMeasure, weightedPrecision, weightedRecall, weightedTruePositiveRatetotalIterationspublic double[] objectiveHistory()
TrainingSummaryobjectiveHistory in interface TrainingSummary