Class/Object

axle.ml

ClassifierPerformance

Related Docs: object ClassifierPerformance | package ml

Permalink

case class ClassifierPerformance[N, DATA, F, G](data: F, retrieve: (DATA) ⇒ Boolean, relevant: (DATA) ⇒ Boolean)(implicit functor: Functor[F, DATA, (N, N, N, N), G], agg: Aggregatable[G, (N, N, N, N), (N, N, N, N)], field: Field[N]) extends Product with Serializable

ClassifierPerformance computes measures of classification performance

They are:

* Precision * Recall * Specificity * Accuracy * F1

The (boolean) "classification task" is defined by two arguments:

1) predict: given a datum, determines whether the value is "in" the retrieved set 2) actual : given a datum, determines whether the value is *actually* "in" the retrieved set

See http://en.wikipedia.org/wiki/Precision_and_recall for more information.

http://en.wikipedia.org/wiki/F1_score

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClassifierPerformance
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ClassifierPerformance(data: F, retrieve: (DATA) ⇒ Boolean, relevant: (DATA) ⇒ Boolean)(implicit functor: Functor[F, DATA, (N, N, N, N), G], agg: Aggregatable[G, (N, N, N, N), (N, N, N, N)], field: Field[N])

    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 accuracy: N

    Permalink
  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val data: F

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def f1Score: N

    Permalink
  10. def fScore(β: Double = 1d): N

    Permalink
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. val fn: N

    Permalink
  13. val fp: N

    Permalink
  14. final def getClass(): Class[_]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  19. val precision: N

    Permalink
  20. val recall: N

    Permalink
  21. val relevant: (DATA) ⇒ Boolean

    Permalink
  22. val retrieve: (DATA) ⇒ Boolean

    Permalink
  23. val scores: G

    Permalink
  24. val specificity: N

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

    Permalink
    Definition Classes
    AnyRef
  26. val tn: N

    Permalink
  27. val tp: N

    Permalink
  28. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped