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(locale string, ignoreTrainingFile bool) (neuralNetwork network.Network)

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(locale string) (inputs, outputs [][]float64)

TrainData returns the inputs and outputs for the neural network

Package training imports 6 packages (graph) and is imported by 2 packages. Updated 2020-04-24. Refresh now. Tools for package owners.