Packages

  • package root
    Definition Classes
    root
  • package scalation
    Definition Classes
    root
  • package analytics

    The analytics package contains classes, traits and objects for analytics including clustering and prediction.

    The analytics package contains classes, traits and objects for analytics including clustering and prediction.

    Definition Classes
    scalation
  • package classifier

    The analytics package contains classes, traits and objects for analytics focused on classification.

    The analytics package contains classes, traits and objects for analytics focused on classification.

    Definition Classes
    analytics
  • class DecisionTreeC45 extends ClassifierInt

    The DecisionTreeC45 class implements a Decision Tree classifier using the C4.5 algorithm.

    The DecisionTreeC45 class implements a Decision Tree classifier using the C4.5 algorithm. The classifier is trained using a data matrix 'x' and a classification vector 'y'. Each data vector in the matrix is classified into one of 'k' classes numbered '0, ..., k-1'. Each column in the matrix represents a feature (e.g., Humidity). The 'vc' array gives the number of distinct values per feature (e.g., 2 for Humidity).

    Definition Classes
    classifier
  • Node

class Node extends AnyRef

Class that contains information for a tree node.

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

Instance Constructors

  1. new Node(f: Int, value: Int, threshold: Double = 1, leaf: Boolean = false, decision: Int = 1)

    f

    feature of the node, if it is leaf, contains the feature of its parent

    value

    branch value

    leaf

    Boolean value indicate whether is leaf node

    decision

    decision if it is leaf node

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val decision: Int
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. val f: Int
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val leaf: Boolean
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. var next: MutableList[Node]
  17. final def notify(): Unit
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. val threshold: Double
  21. def toString(): String
    Definition Classes
    Node → AnyRef → Any
  22. var value: Int
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped