Packages

object DecisionTreeC45

DecisionTreeC45 is the companion object for the DecisionTreeC45 class.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DecisionTreeC45
  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], isCont: Array[Boolean], k: Int, cn: Array[String], vc: VectoI = null): DecisionTreeC45

    Create a DecisionTreeID3 object, passing 'x' and 'y' together in one table.

    Create a DecisionTreeID3 object, passing 'x' and 'y' together in one table.

    xy

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

    fn

    the names for all features/variables

    isCont

    Boolean value to indicate whether according feature is continuous

    k

    the number of classes

    cn

    the names for all classes

    vc

    the value count array indicating number of distinct values per feature