Packages

object TANBayes0

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

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TANBayes0
  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], me: Double = me_default, vc: VectoI = null, smooth: Boolean = true): TANBayes0

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

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