Class

com.salesforce.op.evaluators

MulticlassConfMatrixMetricsByThreshold

Related Doc: package evaluators

Permalink

case class MulticlassConfMatrixMetricsByThreshold(ConfMatrixNumClasses: Int, ConfMatrixClassIndices: Seq[Double], ConfMatrixThresholds: Seq[Double], ConfMatrices: Seq[ConfusionMatrixPerThreshold]) extends EvaluationMetrics with Product with Serializable

Metrics for multi-class confusion matrix. It captures confusion matrix of records of which 1) the labels belong to the top n most occurring classes (n = confMatrixNumClasses) 2) the top predicted probability exceeds a certain threshold in confMatrixThresholds

Linear Supertypes
Product, Equals, EvaluationMetrics, JsonLike, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MulticlassConfMatrixMetricsByThreshold
  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 MulticlassConfMatrixMetricsByThreshold(ConfMatrixNumClasses: Int, ConfMatrixClassIndices: Seq[Double], ConfMatrixThresholds: Seq[Double], ConfMatrices: Seq[ConfusionMatrixPerThreshold])

    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 ConfMatrices: Seq[ConfusionMatrixPerThreshold]

    Permalink
  5. val ConfMatrixClassIndices: Seq[Double]

    Permalink
  6. val ConfMatrixNumClasses: Int

    Permalink
  7. val ConfMatrixThresholds: Seq[Double]

    Permalink
  8. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. 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
  19. 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
  20. 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

  21. def toString(): String

    Permalink

    This instance json string

    This instance json string

    returns

    json string of the instance

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

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

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