|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.classifiers.lazy.kstar.KStarNominalAttribute
public class KStarNominalAttribute
A custom class which provides the environment for computing the transformation probability of a specified test instance nominal attribute to a specified train instance nominal attribute.
Field Summary |
---|
Fields inherited from interface weka.classifiers.lazy.kstar.KStarConstants |
---|
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 Summary | |
---|---|
KStarNominalAttribute(Instance test,
Instance train,
int attrIndex,
Instances trainSet,
int[][] randClassCol,
KStarCache cache)
Constructor |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KStarNominalAttribute(Instance test, Instance train, int attrIndex, Instances trainSet, int[][] randClassCol, KStarCache cache)
Method Detail |
---|
public double transProb()
public void setOptions(int missingmode, int blendmethod, int blendfactor)
public java.lang.String getRevision()
getRevision
in interface RevisionHandler
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |