Packages

object DecisionTreeID3

The DecisionTreeID3 companion object provides factory methods.

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

Value Members

  1. def apply(xy: MatriI, fn: Strings, k: Int, cn: Strings, hparam: HyperParameter = hp): DecisionTreeID3

    Create a decision tree for the given combined matrix where the last column is the response/classification vector.

    Create a decision tree for the given combined matrix where the last column is the response/classification vector.

    xy

    the combined data matrix (features and response)

    fn

    the names for all features/variables

    k

    the number of classes

    cn

    the names for all classes

    hparam

    the hyper-parameters for the decision tree

  2. def test(xy: MatriI, fn: Strings, k: Int, cn: Strings, hparam: HyperParameter = hp): DecisionTreeID3

    Test the decision tree on the given dataset passed in as a combined matrix.

    Test the decision tree on the given dataset passed in as a combined matrix.

    xy

    the combined data matrix (features and response)

    fn

    the names for all features/variables

    k

    the number of classes

    cn

    the names for all classes

    hparam

    the hyper-parameters for the decision tree