NeuralNetwork
new NeuralNetwork(inputNodes, hiddenNodes, outputNodes)
- Source:
Parameters:
Name |
Type |
Description |
inputNodes |
Number
|
|
hiddenNodes |
Nmber
|
|
outputNodes |
Number
|
|
Methods
predict(inputArray) → {Array}
- Source:
Parameters:
Name |
Type |
Description |
inputArray |
Array
|
|
setActivationFunction(func)
- Source:
Parameters:
Name |
Type |
Description |
func |
function
|
|
setLearningRate(learningRate)
- Source:
Parameters:
Name |
Type |
Description |
learningRate |
Number
|
|
train(inputArray, targetArray)
- Source:
Parameters:
Name |
Type |
Description |
inputArray |
Array
|
|
targetArray |
Array
|
|