Package

org.apache.spark.mllib.tree

impurity

Permalink

package impurity

Visibility
  1. Public
  2. All

Type Members

  1. trait Impurity extends Serializable

    Permalink

    Trait for calculating information gain.

    Trait for calculating information gain. This trait is used for (a) setting the impurity parameter in org.apache.spark.mllib.tree.configuration.Strategy (b) calculating impurity values from sufficient statistics.

    Annotations
    @Since( "1.0.0" )

Value Members

  1. object Entropy extends Impurity

    Permalink

    Class for calculating entropy during multiclass classification.

    Class for calculating entropy during multiclass classification.

    Annotations
    @Since( "1.0.0" )
  2. object Gini extends Impurity

    Permalink

    Class for calculating the Gini impurity (http://en.wikipedia.org/wiki/Decision_tree_learning#Gini_impurity) during multiclass classification.

    Class for calculating the Gini impurity (http://en.wikipedia.org/wiki/Decision_tree_learning#Gini_impurity) during multiclass classification.

    Annotations
    @Since( "1.0.0" )
  3. object Variance extends Impurity

    Permalink

    Class for calculating variance during regression

    Class for calculating variance during regression

    Annotations
    @Since( "1.0.0" )

Ungrouped