I
- Object Type which should extend from AbstractIndividualpublic class CCRElitistNeuralNetAlgorithm<I extends <any>> extends NeuralNetAlgorithm<I>
Base implementation for all classification neural net algorithms.
Modifier and Type | Field and Description |
---|---|
protected I |
bestCCRIndividual
Best individual of last generation
|
bestIndividual, bset, cratio, cset, currentBest, currentMean, evaluator, fitDif, generation, individualsComparator, maxOfGenerations, mogbest, mogmean, mutator1, mutator2, nofselSecondMutator, nogbest, nogmean, percentageSecondMutator, populationSize, previousBest, previousMean, provider, pset1, pset2, randGenFactory, rset, species
Constructor and Description |
---|
CCRElitistNeuralNetAlgorithm()
Empty constructor
|
Modifier and Type | Method and Description |
---|---|
void |
doInit()
Create individuals in population, evaluating before start rest
of evolution
|
protected void |
doUpdate()
Implementation for the Update task
|
I |
getBestCCRIndividual()
Returns the best individual of the population
|
protected I |
obtainBestClassifier(java.util.List<I> individuals,
IEvaluator evaluator)
Returns best individual of a list of individuals using the MSEErrorFunction
|
configure, createRandGen, doControl, doGeneration, doIterate, doReplacement, doSelection, doSort, equals, getBestIndividual, getCratio, getCurrentBest, getCurrentMean, getEvaluator, getFitDif, getGeneration, getInhabitants, getMaxOfGenerations, getMogbest, getMogmean, getMutator1, getMutator2, getNogbest, getNogmean, getPercentageSecondMutator, getPopulationSize, getPreviousBest, getPreviousMean, getProvider, getRandGenFactory, getSpecies, setCratio, setEvaluator, setFitDif, setGeneration, setInhabitants, setMaxOfGenerations, setMogbest, setMogmean, setMutator1, setMutator2, setPercentageSecondMutator, setPopulationSize, setProvider, setRandGenFactory, setSpecies
protected I extends <any> bestCCRIndividual
public CCRElitistNeuralNetAlgorithm()
Empty constructor
public I getBestCCRIndividual()
Returns the best individual of the population
public void doInit()
Create individuals in population, evaluating before start rest of evolution
doInit
in class NeuralNetAlgorithm<I extends <any>>
protected void doUpdate()
Implementation for the Update task
doUpdate
in class NeuralNetAlgorithm<I extends <any>>
protected I obtainBestClassifier(java.util.List<I> individuals, IEvaluator evaluator)
Returns best individual of a list of individuals using the MSEErrorFunction
individuals
- list of individuals to obtain bestevaluator
- NeuralNetEvaluator to use in individual evaluation