Package

org.apache.spark.mllib.tree

impurity

Permalink

package impurity

Visibility
  1. Public
  2. All

Type Members

  1. trait Impurity extends Serializable

    Permalink

    :: Experimental :: Trait for calculating information gain.

    :: Experimental :: 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" ) @Experimental()

Value Members

  1. object Entropy extends Impurity

    Permalink

    :: Experimental :: Class for calculating entropy during binary classification.

    :: Experimental :: Class for calculating entropy during binary classification.

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

    Permalink

    :: Experimental :: Class for calculating the Gini impurity during binary classification.

    :: Experimental :: Class for calculating the Gini impurity during binary classification.

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

    Permalink

    :: Experimental :: Class for calculating variance during regression

    :: Experimental :: Class for calculating variance during regression

    Annotations
    @Since( "1.0.0" ) @Experimental()

Ungrouped