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, updateProperties
getProperties, getPropertyDouble, getPropertyLong, getPropertyString, setProperty, setProperty, setProperty
public PrgPopulation(EncogProgramContext theContext, int thePopulationSize)
theContext
- The context.thePopulationSize
- The population size.public MLData compute(MLData input)
compute
in interface MLRegression
input
- The input to thepublic void dumpMembers(int i)
i
- The specified number of genomes.public EncogProgramContext getContext()
public int getInputCount()
getInputCount
in interface MLInput
public int getOutputCount()
getOutputCount
in interface MLOutput
Copyright © 2014. All Rights Reserved.