Documentation ¶
Index ¶
- type NeuralNetwork
- func (network NeuralNetwork) Classify(input map[string]int64) interface{}
- func (network NeuralNetwork) Create() int64
- func (network NeuralNetwork) Delete()
- func (network NeuralNetwork) Info() map[string]string
- func (network NeuralNetwork) IsCreated() bool
- func (network NeuralNetwork) IsTraining() bool
- func (network NeuralNetwork) ObserveTest(input map[string]int64, output map[string]int64) interface{}
- func (network NeuralNetwork) ObserveTrain(input map[string]int64, output map[string]int64) interface{}
- func (network NeuralNetwork) ReCreate()
- func (network NeuralNetwork) Run(input map[string]int64) map[string]float64
- func (network NeuralNetwork) Train(maxCycles int, maxTime int, autoStop bool, backtrack bool) interface{}
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NeuralNetwork ¶
type NeuralNetwork struct {
// contains filtered or unexported fields
}
NeuralNetwork ... Neural-Redis interface
func (NeuralNetwork) Classify ¶
func (network NeuralNetwork) Classify(input map[string]int64) interface{}
Classify ... Run the network returning the classified class
func (NeuralNetwork) Create ¶
func (network NeuralNetwork) Create() int64
Create ... Create the neural network
func (NeuralNetwork) Delete ¶
func (network NeuralNetwork) Delete()
Delete ... Delete the neural network
func (NeuralNetwork) Info ¶
func (network NeuralNetwork) Info() map[string]string
Info ... Returns Redis internal info about the neural network
func (NeuralNetwork) IsCreated ¶
func (network NeuralNetwork) IsCreated() bool
IsCreated ... Returns true if the neural network is created
func (NeuralNetwork) IsTraining ¶
func (network NeuralNetwork) IsTraining() bool
func (NeuralNetwork) ObserveTest ¶
func (network NeuralNetwork) ObserveTest(input map[string]int64, output map[string]int64) interface{}
ObserveTest ... Add a data sample into the testing dataset
func (NeuralNetwork) ObserveTrain ¶
func (network NeuralNetwork) ObserveTrain(input map[string]int64, output map[string]int64) interface{}
ObserveTrain ... Add a data sample into the training dataset
func (NeuralNetwork) ReCreate ¶
func (network NeuralNetwork) ReCreate()
Re-create ... Recreate the neural network
Click to show internal directories.
Click to hide internal directories.