Expand description
This module
gives access to NeuralNetwork
related things and most importantly
it gives access to the NeuralNetwork
Type
itself. It also contains some
convenience functions such as batch_run()
and batch_mutate()
Structs§
- Neural
Network - The
NeuralNetwork
type from which all learning functions come from, stores data for the network and gives access to functions which can be used to access, run, and mutate the network.
Functions§
- batch_
mutate - Turns one inputted
NeuralNetwork
intoamount
number of mutatedNeuralNetwork
s mutated by mutation. Ifoutputs
is true then it will also mutate the output weights. It does this through cloning and callingNeuralNetwork::mutate(mutation)
so it isn’t any more efficent, its simply here for convenience. - batch_
run - Returns a
Vector
ofVector
s that makes up the output of allNeuralNetworks
given to this function. This function does this by repeatedly callingNeuralNetwork::run()
so it isn’t any more efficent, its simply here for convenience.