Packages

object DecisionTreeC45

The DecisionTreeC45 companion object provides factory methods.

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. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(x: MatriI, y: VectoI, fn: Strings, k: Int, cn: Strings, hparam: HyperParameter): DecisionTreeC45

    Create a decision tree for the given data matrix and response/classification vector.

    Create a decision tree for the given data matrix and response/classification vector. Takes all integer data (no continuous features).

    x

    the data matrix (features)

    y

    the response/classification vector

    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

  5. def apply(xy: MatriD, fn: Strings = null, k: Int = 2, cn: Strings = null, conts: Set[Int] = Set [Int] (), hparam: HyperParameter = hp): DecisionTreeC45

    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

    conts

    the set of feature indices for variables that are treated as continuous

    hparam

    the hyper-parameters for the decision tree

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. val drp: (Null, Int, Null, Int, Set[Int])
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def test(xy: MatriD, fn: Strings, k: Int, cn: Strings, conts: Set[Int] = Set [Int] (), hparam: HyperParameter = hp): DecisionTreeC45

    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

    conts

    the set of feature indices for variables that are treated as continuous

    hparam

    the hyper-parameters for the decision tree

  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped