Documentation
¶
Index ¶
- func NewEvaluateFunc(net feedforward.FeedforwardNetwork, length int, significance byte, succ *int, ...) func() (int, [32]byte)
- func NewLoopFunc(net feedforward.FeedforwardNetwork, succ *int, treshold int, ...) func()
- func NewTrainWorstFunc(net feedforward.FeedforwardNetwork, minpremodulo, premodulo, maxpremodulo *int, ...) func(worst []int, succ int) (undo func())
- func Resume(net feedforward.FeedforwardNetwork, resume *bool, dstmodel *string)
- type EvaluateFuncHasher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEvaluateFunc ¶
func NewEvaluateFunc(net feedforward.FeedforwardNetwork, length int, significance byte, succ *int, dstmodel *string, testFunc func(portion int, h EvaluateFuncHasher) int) func() (int, [32]byte)
func NewLoopFunc ¶
func NewLoopFunc(net feedforward.FeedforwardNetwork, succ *int, treshold int, evaluate func() (int, [32]byte), trainWorst func([]int, int) (undo func())) func()
func NewTrainWorstFunc ¶
func NewTrainWorstFunc(net feedforward.FeedforwardNetwork, minpremodulo, premodulo, maxpremodulo *int, tallyFunc func(w []int, t datasets.AnyTally)) func(worst []int, succ int) (undo func())
func Resume ¶
func Resume(net feedforward.FeedforwardNetwork, resume *bool, dstmodel *string)
Types ¶
type EvaluateFuncHasher ¶
Click to show internal directories.
Click to hide internal directories.