Packages

object NaiveBayes0

NaiveBayes0 is the companion object for the NaiveBayes0 class.

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

Value Members

  1. def apply(xy: MatriI, fn: Array[String], k: Int, cn: Array[String], vc: Array[Int] = null, me: Double = me_default, PARALLELISM: Int = ...): NaiveBayes0

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

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

    xy

    the data vectors along with their classifications stored as rows of a matrix

    fn

    the names for all features/variables

    k

    the number of classes

    cn

    the names for all classes

    vc

    the value count (number of distinct values) for each feature

    me

    use m-estimates (me == 0 => regular MLE estimates)

    PARALLELISM

    the level of parallelism, the number of threads to use