EpsilonMeasure
, EpsilonPrimMeasure
, RoughMembershipMeasure
public abstract class ConsistencyMeasure
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static int |
LN_FEATURE_ENSEMBLE |
|
static int |
NO_FEATURE_ENSEMBLE |
|
static int |
PERC_FEATURE_ENSEMBLE |
|
static int |
UNKNOWN_VALUE |
Constructor | Description |
---|---|
ConsistencyMeasure() |
|
ConsistencyMeasure(int numAttributes) |
|
ConsistencyMeasure(int numAttributes,
int numHVDMObjects,
long seed) |
|
ConsistencyMeasure(int numAttributes,
long seed) |
Modifier and Type | Method | Description |
---|---|---|
byte[] |
drawAttributes(MemoryContainer container,
int number) |
|
double |
getConsistency(ApproximatedEntityContainer entityContainer,
int exampleIndex) |
|
double |
getConsistency(ApproximatedEntityContainer entityContainer,
HVDMetric hvdm,
int exampleIndex) |
|
abstract double |
getConsistency(DecisionClassContainer decisionClassContainer,
int exampleIndex) |
Gets consistency of an example in a data set for a given set of decision classes.
|
abstract double |
getConsistency(DecisionClassContainer decisionClassContainer,
HVDMetric hvdm,
int exampleIndex) |
Gets consistency of an example in a data set for a given HVDM neighborhood.
|
abstract double |
getConsistency(UnionContainer unionContainer,
int exampleIndex) |
Gets consistency of an example in a data set for a given set of unions of decision classes.
|
abstract double |
getConsistency(UnionContainer unionContainer,
HVDMetric hvdm,
int exampleIndex) |
Gets consistency of an example in a data set for a given HVDM neighborhood.
|
int |
getNumAttributes() |
|
int |
getNumHVDMObjects() |
|
void |
setHVDM(int numHVDMObjects) |
|
void |
setNumAttributes(int numAttributes) |
|
void |
setSeed(long seed) |
public static final int UNKNOWN_VALUE
public static final int NO_FEATURE_ENSEMBLE
public static final int LN_FEATURE_ENSEMBLE
public static final int PERC_FEATURE_ENSEMBLE
public ConsistencyMeasure()
public ConsistencyMeasure(int numAttributes)
public ConsistencyMeasure(int numAttributes, long seed)
public ConsistencyMeasure(int numAttributes, int numHVDMObjects, long seed)
public double getConsistency(ApproximatedEntityContainer entityContainer, int exampleIndex)
public double getConsistency(ApproximatedEntityContainer entityContainer, HVDMetric hvdm, int exampleIndex)
public abstract double getConsistency(DecisionClassContainer decisionClassContainer, int exampleIndex)
decisionClassContainer
- a container with decision classes for which consistency is checked.exampleIndex
- index in the data set of the example to be checked.public abstract double getConsistency(UnionContainer unionContainer, int exampleIndex)
unionContainer
- a container with unions of decision classes for which consistency is checked.exampleIndex
- index in the data set of the example to be checked.public abstract double getConsistency(DecisionClassContainer decisionClassContainer, HVDMetric hvdm, int exampleIndex)
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.public abstract double getConsistency(UnionContainer unionContainer, HVDMetric hvdm, int exampleIndex)
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.public byte[] drawAttributes(MemoryContainer container, int number)
public int getNumAttributes()
public void setNumAttributes(int numAttributes)
public void setSeed(long seed)
public int getNumHVDMObjects()
public void setHVDM(int numHVDMObjects)