Home | Trees | Indices | Help |
|
---|
|
OnlineFlowNode wraps an OnlineFlow of OnlineNodes into a single OnlineNode. This is handy if you want to use an OnlineFlow where an OnlineNode is required. Additional args and kwargs for train and execute are supported. An OnlineFlowNode requires that all the nodes of the input onlineflow to be either: (a) OnlineNodes (eg. OnlineCenteringNode(), IncSFANode(), etc.), or (b) trained Nodes (eg. a fully trained PCANode with no remaining training phases. A trained Node's node.is_trainable() returns True and node.is_training() returns False.), or (c) non-trainable Nodes (eg. QuadraticExpansionNode(). A non-trainable Node's node.is_trainable() returns False and node.is_training() returns False.). OnlineFlowNode does not support an onlineflow with a terminal trainable Node that is not an OnlineNode (see doc string of OnlineFlow for reference). All the read-only container slots are supported and are forwarded to the internal flow.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|||
Inherited from FlowNode | |||
---|---|---|---|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from OnlineNode | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Node | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
|
|
|||
Inherited from |
|||
Inherited from FlowNode | |||
---|---|---|---|
flow Read-only internal flow property. |
|||
Inherited from OnlineNode | |||
_train_seq List of tuples: |
|||
numx_rng Numpy seeded random number generator |
|||
training_type Training type (Read only) |
|||
Inherited from Node | |||
dtype dtype |
|||
input_dim Input dimensions |
|||
output_dim Output dimensions |
|||
supported_dtypes Supported dtypes |
|
Wrap the given flow into this node. Pretrained nodes are allowed, but the internal flow should not be modified after the FlowNode was created (this will cause problems if the training phase structure of the internal nodes changes). If the node dimensions and dtype are not specified, they will be extracted from the internal nodes (late dimension setting is also supported). flow can have crash recovery enabled, but there is no special support for it.
|
|
Return a training sequence containing all training phases. Unlike thw FlowNode, the OnlineFlowNode requires only one train_seq item for each node. Each node's train function takes care of its multiple train phases (if any).
|
|
|
Sets the training type
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1-MDP on Mon Apr 27 21:56:17 2020 | http://epydoc.sourceforge.net |