Packages

object TANBayes

The TANBayes object is the companion object for the TANBayes class.

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

Value Members

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

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

    Create a TANBayes 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

    me

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

    vc

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