Class

com.salesforce.op.evaluators

BinaryClassificationMetrics

Related Doc: package evaluators

Permalink

case class BinaryClassificationMetrics(Precision: Double, Recall: Double, F1: Double, AuROC: Double, AuPR: Double, Error: Double, TP: Double, TN: Double, FP: Double, FN: Double, thresholds: Seq[Double], precisionByThreshold: Seq[Double], recallByThreshold: Seq[Double], falsePositiveRateByThreshold: Seq[Double]) extends EvaluationMetrics with Product with Serializable

Metrics of Binary Classification Problem

Linear Supertypes
Product, Equals, EvaluationMetrics, JsonLike, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BinaryClassificationMetrics
  2. Product
  3. Equals
  4. EvaluationMetrics
  5. JsonLike
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BinaryClassificationMetrics(Precision: Double, Recall: Double, F1: Double, AuROC: Double, AuPR: Double, Error: Double, TP: Double, TN: Double, FP: Double, FN: Double, thresholds: Seq[Double], precisionByThreshold: Seq[Double], recallByThreshold: Seq[Double], falsePositiveRateByThreshold: Seq[Double])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val AuPR: Double

    Permalink
  5. val AuROC: Double

    Permalink
  6. val Error: Double

    Permalink
  7. val F1: Double

    Permalink
  8. val FN: Double

    Permalink
  9. val FP: Double

    Permalink
  10. val Precision: Double

    Permalink
  11. val Recall: Double

    Permalink
  12. val TN: Double

    Permalink
  13. val TP: Double

    Permalink
  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. val falsePositiveRateByThreshold: Seq[Double]

    Permalink
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def prCurve: Seq[(Double, Double)]

    Permalink
  25. val precisionByThreshold: Seq[Double]

    Permalink
  26. val recallByThreshold: Seq[Double]

    Permalink
  27. def rocCurve: Seq[(Double, Double)]

    Permalink
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. val thresholds: Seq[Double]

    Permalink
  30. def toJson(pretty: Boolean = true): String

    Permalink

    Write this instance to json string

    Write this instance to json string

    pretty

    should pretty print

    returns

    json string of the instance

    Definition Classes
    JsonLike
  31. def toMap: Map[String, Any]

    Permalink

    Convert metrics class to a map

    Convert metrics class to a map

    returns

    a map from metric name to metric value

    Definition Classes
    EvaluationMetrics
  32. def toMetadata: Metadata

    Permalink

    Convert metrics into metadata for saving

    Convert metrics into metadata for saving

    returns

    metadata

    Definition Classes
    EvaluationMetrics
  33. def toString(): String

    Permalink

    This instance json string

    This instance json string

    returns

    json string of the instance

    Definition Classes
    JsonLike → AnyRef → Any
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from EvaluationMetrics

Inherited from JsonLike

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped