public class PSOweightLearning extends LearningAttributeWeights
Modifier and Type | Class and Description |
---|---|
protected class |
PSOweightLearning.Particle |
path
Constructor and Description |
---|
PSOweightLearning() |
PSOweightLearning(int NumParticles,
int Iterations,
double w,
double c1,
double c2,
double d,
boolean randomW,
boolean randomC1,
boolean randomC2) |
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
|
addIgnoredWeights, learnWeights
public PSOweightLearning(int NumParticles, int Iterations, double w, double c1, double c2, double d, boolean randomW, boolean randomC1, boolean randomC2)
public PSOweightLearning()
public Attribute[] learn(CBR cbr, Attribute[] attributes)
LearningAttributeWeights
learn
in class LearningAttributeWeights