Interface ClassificationLoss

All Superinterfaces:
Loss, Serializable, scala.Serializable

public interface ClassificationLoss extends Loss
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    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)