|
|
Eval(self,
valVect)
Given a set of inputs (valVect), returns the output of this node... |
source code
|
|
|
|
SetInputs(self,
inputNodes)
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. |
source code
|
|
|
|
|
|
|
SetWeights(self,
weights)
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. |
source code
|
|
|
|
|
|
|
__init__(self,
nodeIndex,
nodeList,
inputNodes=None,
weights=None,
actFunc=<class 'ML.Neural.ActFuncs.Sigmoid'>,
actFuncParms=())
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. |
source code
|
|