public class ExpNRoughMembershipMeasure extends RoughMembershipMeasure
LN_FEATURE_ENSEMBLE, NO_FEATURE_ENSEMBLE, PERC_FEATURE_ENSEMBLE, UNKNOWN_VALUE
Constructor | Description |
---|---|
ExpNRoughMembershipMeasure() |
|
ExpNRoughMembershipMeasure(int numAttributes) |
|
ExpNRoughMembershipMeasure(int numAttributes,
int numHVDMObjects,
long seed) |
|
ExpNRoughMembershipMeasure(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(UnionContainer unionContainer,
int exampleIndex) |
Gets consistency of an example in a dataset for a given set of unions of decision classes.
|
drawAttributes, getConsistency, getConsistency, getNumAttributes, getNumHVDMObjects, setHVDM, setNumAttributes, setSeed
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConsistency, getConsistency
public ExpNRoughMembershipMeasure()
public ExpNRoughMembershipMeasure(int numAttributes)
public ExpNRoughMembershipMeasure(int numAttributes, long seed)
public ExpNRoughMembershipMeasure(int numAttributes, int numHVDMObjects, long seed)
public double getConsistency(DecisionClassContainer decisionClassContainer, int exampleIndex) throws java.lang.UnsupportedOperationException
getConsistency
in class RoughMembershipMeasure
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 RoughMembershipMeasure
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