Class

com.spotify.noether

MultiClassificationReport

Related Doc: package noether

Permalink

final case class MultiClassificationReport(labels: Seq[Int], beta: Double = 1.0) extends Aggregator[Prediction[Int, Int], Map[(Int, Int), Long], Map[Int, Report]] with Product with Serializable

Generate a Classification Report for a collection of multiclass predictions. A report is generated for each class by treating the predictions as binary of either "class" or "not class". The output of this aggregator will be a map of classes and their Report objects.

labels

List of possible label values.

beta

Beta parameter used in the f-score calculation.

Linear Supertypes
Serializable, Product, Equals, Aggregator[Prediction[Int, Int], Map[(Int, Int), Long], Map[Int, Report]], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MultiClassificationReport
  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 MultiClassificationReport(labels: Seq[Int], beta: Double = 1.0)

    Permalink

    labels

    List of possible label values.

    beta

    Beta parameter used in the f-score calculation.

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: (Map[Int, Report]) ⇒ D): Aggregator[Prediction[Int, Int], Map[(Int, Int), Long], D]

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

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

    Permalink
    Definition Classes
    Aggregator
  7. def apply(inputs: TraversableOnce[Prediction[Int, Int]]): Map[Int, Report]

    Permalink
    Definition Classes
    Aggregator
  8. def applyCumulatively[In <: TraversableOnce[Prediction[Int, Int]], Out](inputs: In)(implicit bf: CanBuildFrom[In, Map[Int, Report], Out]): Out

    Permalink
    Definition Classes
    Aggregator
  9. def applyOption(inputs: TraversableOnce[Prediction[Int, Int]]): Option[Map[Int, Report]]

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

    Permalink
    Definition Classes
    Any
  11. val beta: Double

    Permalink

    Beta parameter used in the f-score calculation.

  12. def clone(): AnyRef

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

    Permalink
    Definition Classes
    Aggregator
  14. def cumulativeIterator(inputs: Iterator[Prediction[Int, Int]]): Iterator[Map[Int, Report]]

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

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

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

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

    Permalink
    Definition Classes
    Any
  19. def join[A2 <: Prediction[Int, Int], B2, C2](that: Aggregator[A2, B2, C2]): Aggregator[A2, (Map[(Int, Int), Long], B2), (Map[Int, Report], C2)]

    Permalink
    Definition Classes
    Aggregator
  20. val labels: Seq[Int]

    Permalink

    List of possible label values.

  21. def lift: MonoidAggregator[Prediction[Int, Int], Option[Map[(Int, Int), Long]], Option[Map[Int, Report]]]

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

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

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

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

    Permalink
    Definition Classes
    MultiClassificationReport → Aggregator
  26. def present(m: Map[(Int, Int), Long]): Map[Int, Report]

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  32. def toFold: Fold[Prediction[Int, Int], Option[Map[Int, Report]]]

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

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

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

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

    Permalink
    Definition Classes
    Aggregator

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Aggregator[Prediction[Int, Int], Map[(Int, Int), Long], Map[Int, Report]]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped