public class Population
extends java.lang.Object
Title: Population
Description: Class for the CHC algorithm
Copyright: KEEL Copyright (c) 2010
Company: KEEL
Constructor and Description |
---|
Population()
Default constructor.
|
Population(myDataset train,
DataBase dataBase,
RuleBase ruleBase,
int size,
int BITS_GEN,
int maxTrials,
double alpha,
int tipoAjuste)
Builder
|
Modifier and Type | Method and Description |
---|---|
boolean |
BETTER(double a,
double b) |
void |
Generation()
Run the CHC algorithm (Stage 3)
|
RuleBase |
getBestRB()
Return the best individual in the population
|
java.lang.String |
getEvolution()
Type of evolution
|
public Population()
public Population(myDataset train, DataBase dataBase, RuleBase ruleBase, int size, int BITS_GEN, int maxTrials, double alpha, int tipoAjuste)
Builder
train
- Training datasetdataBase
- Data BaseruleBase
- Rule setsize
- Population sizeBITS_GEN
- Bits per genmaxTrials
- Maximum number of evaluationsalpha
- Parameter alphatipoAjuste
- several types of tuning can be carried out, which are combinations between: lateral, amplitude and similaritypublic boolean BETTER(double a, double b)
public void Generation()
Run the CHC algorithm (Stage 3)
public java.lang.String getEvolution()
public RuleBase getBestRB()
Return the best individual in the population