org.encog.ml.prg.train
public class PrgPopulation extends BasicPopulation implements MLRegression
| Constructor and Description |
|---|
PrgPopulation(EncogProgramContext theContext,
int thePopulationSize)
Construct the population.
|
| Modifier and Type | Method and Description |
|---|---|
MLData |
compute(MLData input)
Compute the output from the best Genome.
|
void |
dumpMembers(int i)
Dump the specified number of genomes.
|
EncogProgramContext |
getContext() |
int |
getInputCount() |
int |
getOutputCount() |
clear, createSpecies, determineBestSpecies, flatten, getBestGenome, getGenomeFactory, getMaxIndividualSize, getName, getPopulationSize, getSpecies, purgeInvalidGenomes, setBestGenome, setGenomeFactory, setName, setPopulationSize, size, updatePropertiesgetProperties, getPropertyDouble, getPropertyLong, getPropertyString, setProperty, setProperty, setPropertypublic PrgPopulation(EncogProgramContext theContext, int thePopulationSize)
theContext - The context.thePopulationSize - The population size.public MLData compute(MLData input)
compute in interface MLRegressioninput - The input to thepublic void dumpMembers(int i)
i - The specified number of genomes.public EncogProgramContext getContext()
public int getInputCount()
getInputCount in interface MLInputpublic int getOutputCount()
getOutputCount in interface MLOutputCopyright © 2014. All Rights Reserved.