Package org.apache.spark.mllib.tree.loss
Interface ClassificationLoss
- All Superinterfaces:
Loss
,Serializable
,scala.Serializable
-
Method Summary
Modifier and TypeMethodDescriptiondouble
computeProbability
(double margin) Computes the class probability given the margin.Methods inherited from interface org.apache.spark.mllib.tree.loss.Loss
computeError, computeError, gradient
-
Method Details
-
computeProbability
double computeProbability(double margin) Computes the class probability given the margin.- Parameters:
margin
- (undocumented)- Returns:
- (undocumented)
-