Exp2EpsilonMeasure
, Exp3EpsilonMeasure
, ExpNEpsilonMeasure
public class EpsilonMeasure extends ConsistencyMeasure
LN_FEATURE_ENSEMBLE, NO_FEATURE_ENSEMBLE, PERC_FEATURE_ENSEMBLE, UNKNOWN_VALUE
Constructor | Description |
---|---|
EpsilonMeasure() |
|
EpsilonMeasure(int numAttributes) |
|
EpsilonMeasure(int numAttributes,
int numHVDMObjects,
long seed) |
|
EpsilonMeasure(int numAttributes,
long seed) |
Modifier and Type | Method | Description |
---|---|---|
double |
getConsistency(DecisionClassContainer decisionClassContainer,
int exampleIndex) |
Gets consistency of an example in a dataset for the first active decision attribute.
|
double |
getConsistency(DecisionClassContainer decisionClassContainer,
HVDMetric hvdm,
int exampleIndex) |
Gets consistency of an example in a data set for a given HVDM neighborhood.
|
double |
getConsistency(UnionContainer unionContainer,
int exampleIndex) |
Gets consistency of an example in a dataset for a given set of unions of decision classes.
|
double |
getConsistency(UnionContainer unionContainer,
HVDMetric hvdm,
int exampleIndex) |
Gets consistency of an example in a data set for a given HVDM neighborhood.
|
drawAttributes, getConsistency, getConsistency, getNumAttributes, getNumHVDMObjects, setHVDM, setNumAttributes, setSeed
public EpsilonMeasure()
public EpsilonMeasure(int numAttributes)
public EpsilonMeasure(int numAttributes, long seed)
public EpsilonMeasure(int numAttributes, int numHVDMObjects, long seed)
public double getConsistency(DecisionClassContainer decisionClassContainer, int exampleIndex) throws java.lang.UnsupportedOperationException
getConsistency
in class ConsistencyMeasure
decisionClassContainer
- a container with decision classes for which consistency is checked.exampleIndex
- index in the decision classess container decisionClasses
of the example to be checked.java.lang.UnsupportedOperationException
public double getConsistency(UnionContainer unionContainer, int exampleIndex) throws java.lang.UnsupportedOperationException
getConsistency
in class ConsistencyMeasure
unionContainer
- a container with unions of decision classes for which consistency is checked.exampleIndex
- index in the dataset of the example to be checked.java.lang.UnsupportedOperationException
public double getConsistency(DecisionClassContainer decisionClassContainer, HVDMetric hvdm, int exampleIndex) throws java.lang.UnsupportedOperationException
getConsistency
in class ConsistencyMeasure
decisionClassContainer
- a container with decision classes for which consistency is checked.hvdm
- a HVDM metric to calculate neighborhood for which consistency is checked.exampleIndex
- index in the data set of the example to be checked.java.lang.UnsupportedOperationException
public double getConsistency(UnionContainer unionContainer, HVDMetric hvdm, int exampleIndex) throws java.lang.UnsupportedOperationException
getConsistency
in class ConsistencyMeasure
unionContainer
- a container with unions of decision classes for which consistency is checked.hvdm
- a HVDM metric to calculate neighborhood for which consistency is checked.exampleIndex
- index in the data set of the example to be checked.java.lang.UnsupportedOperationException