olivia: github.com/olivia-ai/olivia/training Index | Files

package training

import "github.com/olivia-ai/olivia/training"


Package Files


func CreateNeuralNetwork Uses

func CreateNeuralNetwork() (network neuralnet.NeuralNetwork)

CreateNeuralNetwork returns a new neural network which is loaded from res/training.json or trained from TrainData() inputs and targets.

func TrainData Uses

func TrainData() (inputs, targets [][]float64)

TrainData returns the inputs and targets for the neural network

Package training imports 5 packages (graph) and is imported by 1 packages. Updated 2019-08-09. Refresh now. Tools for package owners.