axle.ml

NaiveBayesClassifier

class NaiveBayesClassifier [D, TF, TC] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. NaiveBayesClassifier
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NaiveBayesClassifier (data: Seq[D], pFs: List[RandomVariable[TF]], pC: RandomVariable[TC], featureExtractor: (D) ⇒ List[TF], classExtractor: (D) ⇒ TC)

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. val C : RandomVariable0[TC]

  7. val Fs : List[RandomVariable1[TF, TC]]

  8. val N : Int

  9. def argmax [K] (ks: Iterable[K], f: (K) ⇒ Double): K

  10. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  11. val classTally : Map[TC, Int]

  12. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  14. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. val featureNames : List[String]

  16. val featureTally : Map[(TC, String, TF), Int]

  17. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  19. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  20. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  21. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  22. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  23. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  24. def performance (dit: Iterator[D], k: TC): (Double, Double, Double, Double)

    "performance" returns four measures of classification performance for the given class.

    "performance" returns four measures of classification performance for the given class.

    They are:

    1. Precision 2. Recall 3. Specificity 4. Accuracy

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

  25. def predict (d: D): TC

  26. def predictedVsActual (dit: Iterator[D], k: TC): (Int, Int, Int, Int)

    For a given class (label value), predictedVsActual returns a tally of 4 cases:

    For a given class (label value), predictedVsActual returns a tally of 4 cases:

    1. true positive 2. false positive 3. false negative 4. true negative

  27. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  28. def toString (): String

    Definition Classes
    AnyRef → Any
  29. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any