Class/Object

com.salesforce.op.evaluators

BinaryClassificationBinMetrics

Related Docs: object BinaryClassificationBinMetrics | package evaluators

Permalink

case class BinaryClassificationBinMetrics(BrierScore: Double, binSize: Double, binCenters: Seq[Double], numberOfDataPoints: Seq[Long], numberOfPositiveLabels: Seq[Long], averageScore: Seq[Double], averageConversionRate: Seq[Double]) extends EvaluationMetrics with Product with Serializable

Metrics of BinaryClassificationBinMetrics

BrierScore

brier score for overall dataset

binSize

size of each bin

binCenters

center of each bin

numberOfDataPoints

total number of data points in each bin

numberOfPositiveLabels

count of labels > 0 in each bin

averageScore

average score in each bin

averageConversionRate

average conversion rate in each bin

Linear Supertypes
Product, Equals, EvaluationMetrics, JsonLike, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BinaryClassificationBinMetrics
  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 BinaryClassificationBinMetrics(BrierScore: Double, binSize: Double, binCenters: Seq[Double], numberOfDataPoints: Seq[Long], numberOfPositiveLabels: Seq[Long], averageScore: Seq[Double], averageConversionRate: Seq[Double])

    Permalink

    BrierScore

    brier score for overall dataset

    binSize

    size of each bin

    binCenters

    center of each bin

    numberOfDataPoints

    total number of data points in each bin

    numberOfPositiveLabels

    count of labels > 0 in each bin

    averageScore

    average score in each bin

    averageConversionRate

    average conversion rate in each bin

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 BrierScore: Double

    Permalink

    brier score for overall dataset

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val averageConversionRate: Seq[Double]

    Permalink

    average conversion rate in each bin

  7. val averageScore: Seq[Double]

    Permalink

    average score in each bin

  8. val binCenters: Seq[Double]

    Permalink

    center of each bin

  9. val binSize: Double

    Permalink

    size of each bin

  10. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  12. def finalize(): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. val numberOfDataPoints: Seq[Long]

    Permalink

    total number of data points in each bin

  19. val numberOfPositiveLabels: Seq[Long]

    Permalink

    count of labels > 0 in each bin

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

    Permalink
    Definition Classes
    AnyRef
  21. 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
  22. 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
  23. def toMetadata(skipUnsupported: Boolean = false): Metadata

    Permalink

    Convert metrics into Metadata for saving

    Convert metrics into Metadata for saving

    skipUnsupported

    skip unsupported values

    returns

    Metadata metadata

    Definition Classes
    EvaluationMetrics
    Exceptions thrown

    RuntimeException in case of unsupported value type

  24. def toString(): String

    Permalink

    This instance json string

    This instance json string

    returns

    json string of the instance

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. 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