org.apache.spark.streamdm.classifiers.trees

InfoGainSplitCriterion

class InfoGainSplitCriterion extends SplitCriterion with Serializable

Class for computing splitting criteria using information gain with respect to distributions of class values.

Linear Supertypes
SplitCriterion, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. InfoGainSplitCriterion
  2. SplitCriterion
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InfoGainSplitCriterion(minBranch: Double)

  2. new InfoGainSplitCriterion()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def entropy(post: Array[Array[Double]]): Double

    Computes the entropy of an matrix

    Computes the entropy of an matrix

    post

    the matrix as an Array of Array

    returns

    the entropy

  9. def entropy(pre: Array[Double]): Double

    Returns the entropy of a distribution

    Returns the entropy of a distribution

    pre

    an Array containing the distribution

    returns

    the entropy

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. def merit(pre: Array[Double], post: Array[Array[Double]]): Double

    Computes the merit of splitting for a given distribution before and after the split.

    Computes the merit of splitting for a given distribution before and after the split.

    pre

    the class distribution before the split

    post

    the class distribution after the split

    returns

    value of the merit of splitting

    Definition Classes
    InfoGainSplitCriterionSplitCriterion
  17. var minBranch: Double

  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def numGTFrac(post: Array[Array[Double]], minFrac: Double): Int

    Returns number of subsets which have values greater than minFrac

    Returns number of subsets which have values greater than minFrac

    post

    he matrix as an Array of Array

    minFrac

    the min threshold

    returns

    number of subsets

  22. def rangeMerit(pre: Array[Double]): Double

    Computes the range of splitting merit

    Computes the range of splitting merit

    pre

    the class distribution before the split

    returns

    value of the range of splitting merit

    Definition Classes
    InfoGainSplitCriterionSplitCriterion
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SplitCriterion

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped