public class EpsilonPrimMeasure extends ConsistencyMeasure
LN_FEATURE_ENSEMBLE, NO_FEATURE_ENSEMBLE, PERC_FEATURE_ENSEMBLE, UNKNOWN_VALUE| Constructor | Description |
|---|---|
EpsilonPrimMeasure() |
|
EpsilonPrimMeasure(int numAttributes) |
|
EpsilonPrimMeasure(int numAttributes,
int numHVDMObjects,
long seed) |
|
EpsilonPrimMeasure(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, setSeedpublic EpsilonPrimMeasure()
public EpsilonPrimMeasure(int numAttributes)
public EpsilonPrimMeasure(int numAttributes,
long seed)
public EpsilonPrimMeasure(int numAttributes,
int numHVDMObjects,
long seed)
public double getConsistency(DecisionClassContainer decisionClassContainer, int exampleIndex) throws java.lang.UnsupportedOperationException
getConsistency in class ConsistencyMeasuredecisionClassContainer - 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.UnsupportedOperationExceptionpublic double getConsistency(UnionContainer unionContainer, int exampleIndex) throws java.lang.UnsupportedOperationException
getConsistency in class ConsistencyMeasureunionContainer - 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.UnsupportedOperationExceptionpublic double getConsistency(DecisionClassContainer decisionClassContainer, HVDMetric hvdm, int exampleIndex) throws java.lang.UnsupportedOperationException
getConsistency in class ConsistencyMeasuredecisionClassContainer - 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.UnsupportedOperationExceptionpublic double getConsistency(UnionContainer unionContainer, HVDMetric hvdm, int exampleIndex) throws java.lang.UnsupportedOperationException
getConsistency in class ConsistencyMeasureunionContainer - 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