Plugin : ANN
Author:Rex.Rainbow
- Artificial Neural Network, using back-propagation and one hidden layer.
Download
Properties
Rate
Momentum
Input variables
- Input variables for Input layer like "A","B"
Hidden layer
- Node count of Hidden layer.
Output variables
- Output variables for Output layer like "O"
Actions
Define
Action:Define learning rate and momentum factor
- Set learning rate and momentum factor.
- Rate ( number ) : Learning rate
- Moment ( number ) : Momentum factor
Define: hidden layer
Action:Define hidden node count
- Define node count of hidden layer.
- Node count ( number ) : Node count of hidden layer
Define: input
Action:Define inputs
- Define input variables by name.
- Input {n} ( variadic ) : Name of input variables.
Action:Define inputs by dictionary
- Define input variables by the keys of dictionary.
- Dictionary ( object ) : Dictionary object
Define: output
Action:Define outputs
- Define outputs variables by name.
- Output {n} ( variadic ) : Name of output variables.
Action:Define outputs by dictionary
- Define outputs variables by the keys of dictionary.
- Dictionary ( object ) : Dictionary object
Input
Action:Set input
- Set input value.
- Name ( number or string ) : Name of input variable
- Value ( number ) : Value of input variable
JSON
Action:Load
- Load from an ANN previously encoded in JSON format.
- JSON ( string ) : A string of the JSON data to load.
Recall
Action:Recall
- Recall by current inputs, get output from "expression:Output".
Reset
Action:Reset
Target
Action:Set target
- Set target output value for learning.
- Name ( number or string ) : Name of output variable
- Value ( number ) : Value of output variable
Train
Action:Train
- Train by current inputs and outputs to adjust the weights.
Expressions
Input
Expression:Input
- Get input value.
- Input ( string ) : Input name.
JSON
Expression:AsJSON
- Return the contents of the ANN in JSON format.
Recall
Expression:Output
- Get output value.
- Output ( string ) : Output name.
Train
Expression:TrainErr
- Get error result of training.