Documentation ¶
Index ¶
- type MyNetwork
- func (self *MyNetwork) ArealMutation(areaRate, mutationRate float64)
- func (self *MyNetwork) GetWeights() [][][]float64
- func (self *MyNetwork) Init(neurons []int)
- func (self *MyNetwork) Load(filename string)
- func (self *MyNetwork) NodeCount() (count int)
- func (self *MyNetwork) Predict(inputData []float64) []float64
- func (self *MyNetwork) Save(filename string)
- func (self *MyNetwork) SetWeights(nw [][][]float64)
- func (self *MyNetwork) SingleTrain(inputData []float64, outputData []float64)
- func (self *MyNetwork) Train(trainingData [][][]float64, epochs int, learningRate float64, debug bool)
- type Network
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyNetwork ¶
type MyNetwork struct {
// contains filtered or unexported fields
}
func (*MyNetwork) ArealMutation ¶
func (*MyNetwork) GetWeights ¶
func (*MyNetwork) SetWeights ¶
func (*MyNetwork) SingleTrain ¶
type Network ¶
type Network struct {
// contains filtered or unexported fields
}
Network is containing all the needed settings/variables.
func NewNetwork ¶
NewNetwork is for creating a new network with the defined layers.
func (*Network) GetWeights ¶
func (*Network) SetWeights ¶
Click to show internal directories.
Click to hide internal directories.