public class REPSO
extends java.lang.Object
Title: Algorithm REPSO
Description: It contains the implementation of the algorithm
Company: KEEL
Modifier and Type | Field and Description |
---|---|
static myDataset |
test
Training dataset.
|
static myDataset |
train
Training dataset.
|
static myDataset |
val
Training dataset.
|
Constructor and Description |
---|
REPSO()
Default constructor
|
REPSO(parseParameters parameters)
It reads the data from the input files (training, validation and test) and parse all the parameters
from the parameters array.
|
Modifier and Type | Method and Description |
---|---|
void |
EliminarInstanciasClasificadas(Particle p)
Removes from the dataset the instances that are correctly classified by the rule contained in the particle given as argument.
|
void |
execute()
It launches the algorithm
|
void |
PrintOutputRules()
Prints on the ouput rules file the rules inferenced by the algorithm.
|
public static myDataset train
public static myDataset val
public static myDataset test
public REPSO()
public REPSO(parseParameters parameters)
parameters
- parseParameters It contains the input files, output files and parameterspublic void execute()
public void EliminarInstanciasClasificadas(Particle p)
p
- particle that contains the rule to check with.public void PrintOutputRules()