link | R Documentation |
~.Node
instances to form a :py:class:~.Model
instance. node1
output will be used as input for node2
in the
created model. This is similar to a function composition operation:Link two :py:class:~.Node
instances to form a :py:class:~.Model
instance. node1
output will be used as input for node2
in the
created model. This is similar to a function composition operation:
link(node1, node2, name = NULL)
node1 |
(Node) or (list_of_Node) Nodes or lists of nodes to link. |
node2 |
(Node) or (list_of_Node) Nodes or lists of nodes to link. |
name |
(str) optional Name for the chaining Model. |
Can update the state of the node several times
A reservoir model linking node1 and node2.
if(reticulate::py_module_available("reservoirpy")){
reservoir <- reservoirnet::createNode(nodeType = "Reservoir",
seed = 1,
units = 100,
lr = 0.7,
sr = 1,
input_scaling = 1)
readout <- reservoirnet::createNode(nodeType = "Ridge", ridge = 0.1)
model <- reservoirnet::link(reservoir, readout)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.