Packages

object ConfusionFit

The ConfusionFit companion object records the indicies and labels for the base Quality of Fit (QoF) measures for the classification techniques.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConfusionFit
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val MIN_FOLDS: Int
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def fitLabel: Seq[String]

    Return the labels for the Scalar Quality of Fit (QoF) measures.

  10. def fitLabel_v: Seq[String]

    Return the labels for the Vector Quality of Fit (QoF) micro-measures.

  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def help: String

    Return the help string that describes the Quality of Fit (QoF) measures provided by the ConfusionFit class.

    Return the help string that describes the Quality of Fit (QoF) measures provided by the ConfusionFit class. The QoF measures are divided into four groups: general, ordinary, micro (per class) vectors and means of the micro vectors. Ordinary are values of the last element in the micro vectors and can be interpreted as, say the precision for the last class value/label, e.g., y = hasCancer in {no, yes}, is the prcision of the 'yes' prediction and is most meaningful when the number of class values/labels (k) is 2.

    See also

    en.wikipedia.org/wiki/Precision_and_recall

    en.wikipedia.org/wiki/Cohen%27s_kappa

  14. val index_acc: Int
  15. val index_f1: Int
  16. val index_f1_m: Int
  17. val index_f1_v: Int
  18. val index_kappa: Int
  19. val index_p: Int
  20. val index_p_m: Int
  21. val index_p_rSq: Int
  22. val index_p_v: Int
  23. val index_r: Int
  24. val index_r_m: Int
  25. val index_r_v: Int
  26. val index_s: Int
  27. val index_s_m: Int
  28. val index_s_v: Int
  29. val index_sse: Int
  30. val index_sst: Int
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  35. def qofStatTable: Array[Statistic]

    Create a table to store statistics for QoF measures, where each row corresponds to the statistics on a particular QoF measure, e.g., 'acc'

  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. def test(y: VectoI, yp: VectoI, k: Int = 2): Unit

    Test and report the confusion matrix and associate QoF measures.

    Test and report the confusion matrix and associate QoF measures.

    y

    the actual class values

    yp

    the predicted class values

    k

    the number of class labels {0, 1, ... , k-1}

  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped