public class Histogram
extends java.lang.Object
Constructor and Description |
---|
Histogram(water.fvec.Frame originData,
DataFeaturesLimits conditionLimits,
BinningStrategy binningStrategy) |
Modifier and Type | Method and Description |
---|---|
java.util.List<SplitStatistics> |
calculateSplitStatisticsForCategoricalFeature(int feature) |
java.util.List<SplitStatistics> |
calculateSplitStatisticsForNumericFeature(int feature) |
int |
featuresCount() |
java.util.List<AbstractBin> |
getFeatureBins(int featureIndex)
Get list of feature bins (copy) - for testing.
|
static DataFeaturesLimits |
getFeaturesLimitsForConditions(water.fvec.Frame originData,
DataFeaturesLimits conditionLimits)
Computes features limits considering known condition limits of ancestors.
|
boolean |
isConstant(int featureIndex) |
public Histogram(water.fvec.Frame originData, DataFeaturesLimits conditionLimits, BinningStrategy binningStrategy)
public java.util.List<AbstractBin> getFeatureBins(int featureIndex)
featureIndex
- feature indexpublic int featuresCount()
public static DataFeaturesLimits getFeaturesLimitsForConditions(water.fvec.Frame originData, DataFeaturesLimits conditionLimits)
public java.util.List<SplitStatistics> calculateSplitStatisticsForNumericFeature(int feature)
public java.util.List<SplitStatistics> calculateSplitStatisticsForCategoricalFeature(int feature)
public boolean isConstant(int featureIndex)