Interface HasVarianceImpurity

All Superinterfaces:
Identifiable, Params, Serializable, scala.Serializable
All Known Subinterfaces:
DecisionTreeRegressorParams, GBTClassifierParams, GBTRegressorParams, RandomForestRegressorParams, TreeRegressorParams
All Known Implementing Classes:
DecisionTreeRegressionModel, DecisionTreeRegressor, GBTClassificationModel, GBTClassifier, GBTRegressionModel, GBTRegressor, RandomForestRegressionModel, RandomForestRegressor

public interface HasVarianceImpurity extends Params
  • Method Details

    • impurity

      Param<String> impurity()
      Criterion used for information gain calculation (case-insensitive). This impurity type is used in DecisionTreeRegressor, RandomForestRegressor, GBTRegressor and GBTClassifier (since GBTClassificationModel is internally composed of DecisionTreeRegressionModels). Supported: "variance". (default = variance)
      Returns:
      (undocumented)
    • getImpurity

      String getImpurity()
    • getOldImpurity

      Impurity getOldImpurity()
      Convert new impurity to old impurity.