Algorithm 1 Geometrical Divide (GD) |
dataParticles: list of data particles |
featureVectors: list of data particle’s feature vectors |
newDataParticles: list of data particles created by divide |
: size of the smallest class |
FOR; |
DO |
dataParticle1 = List() // create two empty lists dataParticle1 |
dataParticle2 = List() // and dataParticle2 for new data particles |
DO |
THEN |
ELSE |
END IF |
END FOREACH |
add(dataParticle1) add(dataParticle2) |
END FOREACH |
newDataParticles |
clear() |
END FOR |