Class

com.spotify.noether

BinaryConfusionMatrix

Related Doc: package noether

Permalink

case class BinaryConfusionMatrix(threshold: Double = 0.5) extends Aggregator[Prediction[Boolean, Double], Map[(Int, Int), Long], DenseMatrix[Long]] with Product with Serializable

Special Case for a Binary Confusion Matrix to make it easier to compose with other binary aggregators

threshold

Threshold to apply on predictions

Linear Supertypes
Serializable, Product, Equals, Aggregator[Prediction[Boolean, Double], Map[(Int, Int), Long], DenseMatrix[Long]], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BinaryConfusionMatrix
  2. Serializable
  3. Product
  4. Equals
  5. Aggregator
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BinaryConfusionMatrix(threshold: Double = 0.5)

    Permalink

    threshold

    Threshold to apply on predictions

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. def andThenPresent[D](present2: (DenseMatrix[Long]) ⇒ D): Aggregator[Prediction[Boolean, Double], Map[(Int, Int), Long], D]

    Permalink
    Definition Classes
    Aggregator
  5. def append(l: Map[(Int, Int), Long], r: Prediction[Boolean, Double]): Map[(Int, Int), Long]

    Permalink
    Definition Classes
    Aggregator
  6. def appendAll(old: Map[(Int, Int), Long], items: TraversableOnce[Prediction[Boolean, Double]]): Map[(Int, Int), Long]

    Permalink
    Definition Classes
    Aggregator
  7. def apply(inputs: TraversableOnce[Prediction[Boolean, Double]]): DenseMatrix[Long]

    Permalink
    Definition Classes
    Aggregator
  8. def applyCumulatively[In <: TraversableOnce[Prediction[Boolean, Double]], Out](inputs: In)(implicit bf: CanBuildFrom[In, DenseMatrix[Long], Out]): Out

    Permalink
    Definition Classes
    Aggregator
  9. def applyOption(inputs: TraversableOnce[Prediction[Boolean, Double]]): Option[DenseMatrix[Long]]

    Permalink
    Definition Classes
    Aggregator
  10. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def composePrepare[A1](prepare2: (A1) ⇒ Prediction[Boolean, Double]): Aggregator[A1, Map[(Int, Int), Long], DenseMatrix[Long]]

    Permalink
    Definition Classes
    Aggregator
  13. def cumulativeIterator(inputs: Iterator[Prediction[Boolean, Double]]): Iterator[DenseMatrix[Long]]

    Permalink
    Definition Classes
    Aggregator
  14. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    Any
  18. def join[A2 <: Prediction[Boolean, Double], B2, C2](that: Aggregator[A2, B2, C2]): Aggregator[A2, (Map[(Int, Int), Long], B2), (DenseMatrix[Long], C2)]

    Permalink
    Definition Classes
    Aggregator
  19. def lift: MonoidAggregator[Prediction[Boolean, Double], Option[Map[(Int, Int), Long]], Option[DenseMatrix[Long]]]

    Permalink
    Definition Classes
    Aggregator
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. def prepare(input: Prediction[Boolean, Double]): Map[(Int, Int), Long]

    Permalink
    Definition Classes
    BinaryConfusionMatrix → Aggregator
  24. def present(m: Map[(Int, Int), Long]): DenseMatrix[Long]

    Permalink
    Definition Classes
    BinaryConfusionMatrix → Aggregator
  25. def reduce(items: TraversableOnce[Map[(Int, Int), Long]]): Map[(Int, Int), Long]

    Permalink
    Definition Classes
    Aggregator
  26. def reduce(l: Map[(Int, Int), Long], r: Map[(Int, Int), Long]): Map[(Int, Int), Long]

    Permalink
    Definition Classes
    Aggregator
  27. def reduceOption(items: TraversableOnce[Map[(Int, Int), Long]]): Option[Map[(Int, Int), Long]]

    Permalink
    Definition Classes
    Aggregator
  28. def semigroup: Semigroup[Map[(Int, Int), Long]]

    Permalink
    Definition Classes
    BinaryConfusionMatrix → Aggregator
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. val threshold: Double

    Permalink

    Threshold to apply on predictions

  31. def toFold: Fold[Prediction[Boolean, Double], Option[DenseMatrix[Long]]]

    Permalink
    Definition Classes
    Aggregator
  32. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def zip[A2, B2, C2](ag2: Aggregator[A2, B2, C2]): Aggregator[(Prediction[Boolean, Double], A2), (Map[(Int, Int), Long], B2), (DenseMatrix[Long], C2)]

    Permalink
    Definition Classes
    Aggregator

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Aggregator[Prediction[Boolean, Double], Map[(Int, Int), Long], DenseMatrix[Long]]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped