Documentation
¶
Index ¶
- func ReadFile(filename string, lines int, iterations int, ...) (inputSet, outputSet xmath.Matrix, readErr error)
- func TrainInMem(config InMemTraining, network net.NN, inputSet xmath.Matrix, ...)
- func TrainInStream(ctx context.Context, config InStreamTraining, network net.NN, data DataSource, ...)
- type Ack
- type Data
- type DataSource
- type Epoch
- type InMemTraining
- type InStreamTraining
- type NoSet
- type Pair
- type Set
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TrainInMem ¶
func TrainInStream ¶
func TrainInStream(ctx context.Context, config InStreamTraining, network net.NN, data DataSource, ack Ack)
Types ¶
type DataSource ¶
type DataSource chan Pair
type InMemTraining ¶
type InMemTraining struct {
// contains filtered or unexported fields
}
func Training ¶
func Training(threshold float64, epochLogInterval int) InMemTraining
type InStreamTraining ¶
type InStreamTraining struct { InMemTraining Epoch Epoch // contains filtered or unexported fields }
func StreamingTraining ¶
func StreamingTraining(cfg InMemTraining, outputSize int, inputLogInterval int) InStreamTraining
Click to show internal directories.
Click to hide internal directories.