public class SalzbergWeightLearning extends LearningAttributeWeights
path
Constructor and Description |
---|
SalzbergWeightLearning() |
Modifier and Type | Method and Description |
---|---|
Attribute[] |
learn(CBR cbr,
Attribute[] attributes)
Mètode de aprenentatge de pesos que modifica el pes dels atributs de la Population train en funció de la Population de test
|
void |
setAcceptableDifference(float diff)
Sets the acceptable difference between numerical values in the
classification.
|
void |
setDiscPercent(int p)
Sets the percentage (0,100] of numeric values every group of
discretization will contain.
|
void |
setDiscRatio(float r)
Sets the ratio (0,1] of numeric values every group of discretization
will contain.
|
void |
setIncrement(float inc)
Set Salzberg's algorithm increment
|
addIgnoredWeights, learnWeights
public Attribute[] learn(CBR cbr, Attribute[] attributes)
LearningAttributeWeights
learn
in class LearningAttributeWeights
public void setIncrement(float inc)
inc
- incrementpublic void setAcceptableDifference(float diff)
diff
- public void setDiscPercent(int p)
p
- % of valuespublic void setDiscRatio(float r)
r
- ratio of values