class
NaiveBayesClassifier
[D, TF, TC]
extends AnyRef
Instance Constructors
-
new
NaiveBayesClassifier
(data: Seq[D], pFs: List[RandomVariable[TF]], pC: RandomVariable[TC], featureExtractor: (D) ⇒ List[TF], classExtractor: (D) ⇒ TC)
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
-
-
val
N
: Int
-
def
argmax
[K]
(ks: Iterable[K], f: (K) ⇒ Double): K
-
def
asInstanceOf
[T0]
: T0
-
val
classTally
: Map[TC, Int]
-
def
clone
(): AnyRef
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
val
featureNames
: List[String]
-
val
featureTally
: Map[(TC, String, TF), Int]
-
def
finalize
(): Unit
-
def
getClass
(): java.lang.Class[_]
-
def
hashCode
(): Int
-
def
isInstanceOf
[T0]
: Boolean
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
def
performance
(dit: Iterator[D], k: TC): (Double, Double, Double, Double)
-
def
predict
(d: D): TC
-
def
predictedVsActual
(dit: Iterator[D], k: TC): (Int, Int, Int, Int)
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
toString
(): String
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any