GODPAPER | All Packages | All Classes | Index | Frames No Frames |
Neuron

Package | com.lookbackon.AI.ANN
Class | public class Neuron
Inheritance | Neuron Object

A Neuron is the basic building block of a Neural Network

Public Properties

| Property | Defined By
--- | --- | ---
|  | bias : Number | Neuron
|  | error : Number | Neuron
|  | index : int | Neuron
|  | input : int | Neuron
|  | layer : int | Neuron
|  | output : int | Neuron
|  | outputTraning : int | Neuron
|  | weight : Array [read-only] | Neuron

Protected Properties

| Property | Defined By
--- | --- | ---
|  | _weight : Array | Neuron

Public Methods

| Method | Defined By
--- | --- | ---
|  | Neuron(layer:int, index:int) | Neuron
|  | logisticFunction(val:Number):Number | Neuron
|  | logisticFunctionDerivative(val:Number):Number | Neuron

Property Detail

_weight | property

`protected var _weight:Array`

bias | property |

`bias:Number`

Implementation
`public function get bias():Number`
`public function set bias(value:Number):void`

error | property |

`error:Number`

Implementation
`public function get error():Number`
`public function set error(value:Number):void`

index | property |

`index:int`

Implementation
`public function get index():int`
`public function set index(value:int):void`

input | property |

`input:int`

Implementation
`public function get input():int`
`public function set input(value:int):void`

layer | property |

`layer:int`

Implementation
`public function get layer():int`
`public function set layer(value:int):void`

output | property |

`output:int`

Implementation
`public function get output():int`
`public function set output(value:int):void`

outputTraning | property |

`outputTraning:int`

Implementation
`public function get outputTraning():int`
`public function set outputTraning(value:int):void`

weight | property |

`weight:Array` [read-only]

Implementation
`public function get weight():Array`
Constructor Detail

Neuron | () | Constructor

`public function Neuron(layer:int, index:int)`

Parameters

| `layer:int`
| `index:int`

Method Detail

logisticFunction | () | method

`public function logisticFunction(val:Number):Number`

Parameters

| `val:Number`

Returns

| `Number`

logisticFunctionDerivative | () | method |

`public function logisticFunctionDerivative(val:Number):Number`

Parameters

| `val:Number`

Returns

| `Number`

Thu Jan 16 2014, 01:11 PM +08:00