Packages

object NaiveBayesR

NaiveBayesR is the companion object for the NaiveBayesR class.

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

Value Members

  1. def apply(xy: MatriD, fn: Strings = null, k: Int = 2, cn: Strings = null): 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.

    xy

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

    fn

    the names of the features

    k

    the number of classes

    cn

    the names of the classes