plot.reservoir_predict_seq: plot.reservoir_predict_seq

View source: R/class_methods_reservoir_predict_seq.R

plot.reservoir_predict_seqR Documentation

plot.reservoir_predict_seq

Description

plot.reservoir_predict_seq

Usage

## S3 method for class 'reservoir_predict_seq'
plot(x, ..., vec_nodes = c(1:20), vec_time = NULL)

Arguments

x

A reservoir_predict_seq object

...

deprecated

vec_nodes

Number of nodes to plot

vec_time

Time to plot

Value

A ggplot

Examples

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)
}


reservoirnet documentation built on April 4, 2023, 5:12 p.m.