Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyMutagen ¶
type DummyMutagen struct {
// contains filtered or unexported fields
}
DummyMutagen is simple randomized mutagen
func NewDummyMutagen ¶
func NewDummyMutagen(chance float64, mutationCount int) (dm *DummyMutagen)
NewDummyMutagen constructs DummyMutagen with specified mutation chance and amount of mutations that should be applied per cycle
func (*DummyMutagen) Mutate ¶
func (dm *DummyMutagen) Mutate(network *neuralnetwork.NeuralNetwork)
Dummy implementaion of Mutagen inteface Mutate method For DummyMutagen it gets pseudo-random number and validates if number in chance bounds. After method applies randomized mutation for random weight and bias in neuralnetwork.NeuralNetwork
Click to show internal directories.
Click to hide internal directories.