|
|
StepUpdate(self,
example,
net,
resVect=None)
does a BackProp step based upon the example
**Arguments**
- example: a 2-tuple:
1) a list of variable values values
2) a list of result values (targets)
- net: a _Network_ (or something supporting the same API)
- resVect: if this is nonzero, then the network is not required to
classify the _example_
**Returns**
the backprop error from _network_ **before the update**
**Note**
In case it wasn't blindingly obvious, the weights in _network_ are modified
in the course of taking a backprop step. |
source code
|
|
|
|
TrainOnLine(self,
examples,
net,
maxIts=5000,
errTol=0.1,
useAvgErr=1,
silent=0)
carries out online training of a neural net
The definition of online training is that the network is updated after
each example is presented. |
source code
|
|
|
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|