Package | Description |
---|---|
com.kylecorry.lann |
Modifier and Type | Method and Description |
---|---|
NeuralNetwork |
GeneticTrainingAlgorithm.best(boolean max)
Get the best neural network based on its fitness.
|
NeuralNetwork |
NeuralNetwork.Builder.build()
Builds a neural network instance.
|
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<NeuralNetwork,java.lang.Double> |
GeneticTrainingAlgorithm.getGenes()
Get a HashMap linking the neural networks to their fitness.
|
Modifier and Type | Method and Description |
---|---|
double |
GeneticTrainingAlgorithm.getFitness(NeuralNetwork net)
Get the fitness of a neural network.
|
void |
GeneticTrainingAlgorithm.setFitness(NeuralNetwork net,
double score)
Set the fitness of a neural network.
|