| Trees | Indices | Help |
|
|---|
|
|
a node in a neural network
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Given a set of inputs (valVect), returns the output of this node **Arguments** - valVect: a list of inputs **Returns** the result of running the values in valVect through this node |
Sets the input list **Arguments** - inputNodes: a list of _NetNode_s which are to be used as inputs **Note** If this _NetNode_ already has weights set and _inputNodes_ is a different length, this will bomb out with an assertion. |
Sets the weight list **Arguments** - weights: a list of values which are to be used as weights **Note** If this _NetNode_ already has _inputNodes_ and _weights_ is a different length, this will bomb out with an assertion. |
Constructor
**Arguments**
- nodeIndex: the integer index of this node in _nodeList_
- nodeList: the list of other _NetNodes_ already in the network
- inputNodes: a list of this node's inputs
- weights: a list of this node's weights
- actFunc: the activation function to be used here. Must support the API
of _ActFuncs.ActFunc_.
- actFuncParms: a tuple of extra arguments to be passed to the activation function
constructor.
**Note**
There should be only one copy of _inputNodes_, every _NetNode_ just has a pointer
to it so that changes made at one node propagate automatically to the others.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Feb 1 16:13:01 2018 | http://epydoc.sourceforge.net |