public class KStarNominalAttribute extends java.lang.Object implements KStarConstants, RevisionHandler
B_ENTROPY, B_SPHERE, EPSILON, FLOOR, FLOOR1, INITIAL_STEP, LOG2, M_AVERAGE, M_DELETE, M_MAXDIFF, M_NORMAL, NUM_RAND_COLS, OFF, ON, ROOT_FINDER_ACCURACY, ROOT_FINDER_MAX_ITER
Constructor and Description |
---|
KStarNominalAttribute(Instance test,
Instance train,
int attrIndex,
Instances trainSet,
int[][] randClassCol,
KStarCache cache)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRevision()
Returns the revision string.
|
void |
setOptions(int missingmode,
int blendmethod,
int blendfactor)
Sets the options.
|
double |
transProb()
Calculates the probability of the indexed nominal attribute of the test
instance transforming into the indexed nominal attribute of the training
instance.
|
public KStarNominalAttribute(Instance test, Instance train, int attrIndex, Instances trainSet, int[][] randClassCol, KStarCache cache)
public double transProb()
public void setOptions(int missingmode, int blendmethod, int blendfactor)
public java.lang.String getRevision()
getRevision
in interface RevisionHandler