Difference between revisions of "Neural Network Library"

From SolarStrike wiki
Jump to: navigation, search
(Created page with "= What Neural Networks Can Do = = How It Works = = Documentation = ==Including the library in your project== ==Creating an instance of a neural network== ==NeuralNet:feed()=...")
 
m (Including the library in your project)
Line 5: Line 5:
 
= Documentation =
 
= Documentation =
 
==Including the library in your project==
 
==Including the library in your project==
 +
 +
Before you can use the neural network library, you must tell your project to include the necessary files. To do so, you can simply use the ''require'' call, like so:
 +
<source lang="lua">
 +
require('neuralnet/net);
 +
</source>
 +
 +
It is highly recommended to do this at the top of your main project file (probably main.lua).
 +
 
==Creating an instance of a neural network==
 
==Creating an instance of a neural network==
 
==NeuralNet:feed()==
 
==NeuralNet:feed()==

Revision as of 14:13, 17 February 2018

What Neural Networks Can Do

How It Works

Documentation

Including the library in your project

Before you can use the neural network library, you must tell your project to include the necessary files. To do so, you can simply use the require call, like so:

require('neuralnet/net);

It is highly recommended to do this at the top of your main project file (probably main.lua).

Creating an instance of a neural network

NeuralNet:feed()

NeuralNet:backPropagation()

NeuralNet:getRecentAverageError()

NeuralNet:getResults()

NeuralNet:getExportTable()

NeuralNet:save()

NeuralNet:load()

Examples