NaiveBayesR

scalation.modeling.classifying.NaiveBayesR
See theNaiveBayesR companion class
object NaiveBayesR

NaiveBayesR is the companion object for the NaiveBayesR class.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(xy: MatrixD, fname: Array[String], k: Int, cname: Array[String], hparam: HyperParameter)(col: Int): NaiveBayesR

Create a NaiveBayesR object, passing x and y together in one matrix.

Create a NaiveBayesR object, passing x and y together in one matrix.

Value parameters

cname

the names of the classes

col

the designated response column (defaults to the last column)

fname

the names of the features/variables

hparam

the hyper-parameters

k

the number of classes

xy

the combined data-response matrix

Attributes