You can find the JSDoc Documentation here
- Author: AvoLord
- Version: 0.1
- AvoNet
Creates a new NeuronalNetwork-object with a given node-configuration
- ConstructionError
Sets the Error-messages
- sigmoid(x) ⇒
Number The sigmoid function
- dsigmoid(x) ⇒
Number The derivative of the sigmoid function
- logit(x) ⇒
Number The invers-sigmoid function or logit function
- simple(x) ⇒
Number A simple function that either returns 0 or 1
Creates a new NeuronalNetwork-object with a given node-configuration
Kind: global class
| Param | Type | Description |
|---|---|---|
| layer_configuration | Array |
A node-configuration that specifies the amount of input,hidden and output nodes |
| layer_configuration | AvoNet |
Another NeuronalNetwork that will be copied |
| input | Number |
A custom value for the weights [random if left empty] |
Initializes the node-configuration
Kind: instance method of AvoNet
| Param | Type | Description |
|---|---|---|
| conf | Array |
The layer_configuration from the constructor |
Initializes the node-configuration [as an Array]
Kind: instance method of AvoNet
Initializes the weights
Kind: instance method of AvoNet
| Param | Type | Description |
|---|---|---|
| input | Number |
A possible value for the weights [random if empty] |
Initializes the bias
Kind: instance method of AvoNet
| Param | Type | Description |
|---|---|---|
| input | Number |
A possible value for the bias [random if empty] |
Allows the User to download the Network
Kind: instance method of AvoNet
Allows the User to clone the Network
Kind: instance method of AvoNet
Determines the error given that Network produces
Kind: instance method of AvoNet
Returns: Number - - The error-value
| Param | Type | Description |
|---|---|---|
| input | Array |
An Input Array [Input Vector] |
| real | Array |
The Real-values [Solution Vector] |
Returns a guess corresponding to a given Input
Kind: instance method of AvoNet
Returns: Array - - An Output Array [Output Vector]
| Param | Type | Description |
|---|---|---|
| input | Array |
An Input Array [Input Vector] |
-----------------------[W I P]-------------------------
Kind: instance method of AvoNet
Returns: Array - - An Input Array [Input Vector]
| Param | Type | Description |
|---|---|---|
| output | Array |
An Output Array [Output Vector] |
Trains the Network corresponding to its error
Kind: instance method of AvoNet
| Param | Type | Description |
|---|---|---|
| input | Array |
An Input Array [Input Vector] |
| input | Array |
An Real Array [Solution Vector] |
Sets the Error-messages
The sigmoid function
Kind: global function
Returns: Number - - The corresponding y-value
| Param | Type | Description |
|---|---|---|
| x | Number |
The input |
The derivative of the sigmoid function
Kind: global function
Returns: Number - - The corresponding y-value
| Param | Type | Description |
|---|---|---|
| x | Number |
The input |
The invers-sigmoid function or logit function
Kind: global function
Returns: Number - - The corresponding y-value
| Param | Type | Description |
|---|---|---|
| x | Number |
The input |
A simple function that either returns 0 or 1
Kind: global function
Returns: Number - - The corresponding y-value
| Param | Type | Description |
|---|---|---|
| x | Number |
The input |