xesn.LazyESN.train#
- LazyESN.train(y, n_spinup=0, batch_size=None)#
Learn the readout matrix weights through ridge regression.
- Parameters:
y (xarray.DataArray) – target or label data for training, if different from the input data
n_spinup (int, optional) – number of spinup steps for the ESN, not included in training
batch_size (int, optional) – used to perform training in batches, but note that all time data are still loaded into memory regardless of this parameter
- Sets Attributes:
Wout (array_like) – the readout matrix, mapping from reservoir to output space