Configurable
, MOAObject
, OptionHandler
, java.io.Serializable
NominalStatisticsObserver
, NumericStatisticsObserver
MultiLabelBSTree
, MultiLabelBSTreeFloat
, MultiLabelNominalAttributeObserver
public interface AttributeStatisticsObserver extends OptionHandler
Modifier and Type | Method | Description |
---|---|---|
AttributeExpansionSuggestion |
getBestEvaluatedSplitSuggestion(MultiLabelSplitCriterion criterion,
DoubleVector[] preSplitStatistics,
int inputAttributeIndex) |
Gets the best split suggestion given a criterion and a class distribution
|
void |
observeAttribute(double inputAttributeValue,
DoubleVector[] statistics) |
Updates statistics of this observer given an attribute value, the index of the statistic
and the weight of the instance observed
|
getDescription, measureByteSize
copy, getCLICreationString, getOptions, getPurposeString, prepareForUse, prepareForUse
void observeAttribute(double inputAttributeValue, DoubleVector[] statistics)
inputAttributeValue
- the value for the attribute attributestatistics
- numOutputs x numStatistics the index of the statistic to storeAttributeExpansionSuggestion getBestEvaluatedSplitSuggestion(MultiLabelSplitCriterion criterion, DoubleVector[] preSplitStatistics, int inputAttributeIndex)
criterion
- the split criterion to usepreSplitStatistics
- the class distribution before the splitinputAttributeIndex
- the input attribute indexCopyright © 2020 University of Waikato, Hamilton, NZ. All Rights Reserved.