:: DeveloperApi :: information calculation for regression
:: DeveloperApi :: information calculation for regression
number of instances
sum of labels
summation of squares of the labels
information value, or 0 if count = 0
:: DeveloperApi :: information calculation for multiclass classification
:: DeveloperApi :: information calculation for multiclass classification
Array[Double] with counts for each label
sum of counts for all labels
information value, or 0 if totalCount = 0
:: 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.