View source: R/class_methods_reservoir_predict_seq.R
plot.reservoir_predict_seq | R Documentation |
plot.reservoir_predict_seq
## S3 method for class 'reservoir_predict_seq'
plot(x, ..., vec_nodes = c(1:20), vec_time = NULL)
x |
A reservoir_predict_seq object |
... |
deprecated |
vec_nodes |
Number of nodes to plot |
vec_time |
Time to plot |
A ggplot
if(reticulate::py_module_available("reservoirpy")){
reservoir <- reservoirnet::createNode(nodeType = "Reservoir",
seed = 1,
units = 100,
lr = 0.7,
sr = 1,
input_scaling = 1)
X <- matrix(data = rnorm(100), ncol = 4)
reservoir_state_stand <- reservoirnet::predict_seq(node = reservoir, X = X)
plot(reservoir_state_stand)
summary(reservoir_state_stand)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.