Methods in weka.classifiers.lazy.kstar with parameters of type KStarWrapper |
private void |
KStarNumericAttribute.calculateSphereSize(double scale,
KStarWrapper params)
Calculates the size of the "sphere of influence" defined as:
sphere = sum(P)^2/sum(P^2) where
P(i) = root*exp(-2*i*root).
|
private void |
KStarNumericAttribute.calculateEntropy(double scale,
KStarWrapper params)
Calculates several parameters aside from the entropy: for a specified
scale factor, calculates the actual entropy, a random entropy using a
randomized set of class value colomns, and records the average and
smallest probabilities (for use in missing value case). |
private void |
KStarNominalAttribute.calculateEntropy(double stop,
KStarWrapper params)
Calculates the entropy of the actual class prediction
and the entropy for random class prediction. |
private void |
KStarNominalAttribute.calculateSphereSize(int testvalue,
double stop,
KStarWrapper params)
Calculates the size of the "sphere of influence" defined as:
sphere = sum(P^2)/sum(P)^2
P(i|j) = (1-tstop)*P(i) + ((i==j)? |