public class CHC
extends java.lang.Object
Title: CHC
Description: Uses a CHC algorithm to select the rules used in the GP-COACH-H algorithm
Company: KEEL
Constructor and Description |
---|
CHC()
Default constructor
|
CHC(myDataset current_dataset,
GP_COACH_H gp_coach_data,
double alpha,
java.util.ArrayList<Rule> pop,
int n_low,
int n_high,
int eval,
int popLength,
int bits_per_gene)
Creates a CHC object with its parameters
|
Modifier and Type | Method and Description |
---|---|
double[] |
obtainLateralTuning()
Obtains the best lateral tuning from the genetic tuning process
|
java.util.ArrayList<Rule> |
obtainNewRuleBase()
Obtains the best set of rules from the genetic rule selection process
|
void |
runCHC()
Run the CHC algorithm for the data in this population
|
public CHC()
public CHC(myDataset current_dataset, GP_COACH_H gp_coach_data, double alpha, java.util.ArrayList<Rule> pop, int n_low, int n_high, int eval, int popLength, int bits_per_gene)
current_dataset
- Training dataset used in this algorithmgp_coach_data
- GP-COACH-H object that we will use to train an element in the training set with our rulesalpha
- Alpha of the raw_fitness evaluation functionpop
- Population of rules we want to selectn_low
- Number of low granularity rules in the rule basen_high
- Number of high granularity rules in the rule baseeval
- Maximum number of evaluations in the CHC algorithmpopLength
- Size of the population in the CHC algorithmbits_per_gene
- Bits per gene for the gray code associated to the real part of the CHC algorithm (lateral tuning)public void runCHC()
public java.util.ArrayList<Rule> obtainNewRuleBase()
public double[] obtainLateralTuning()