reservoir-core 0.1.0

Core traits, types, and metrics for reservoir computing (ESN). Supports optional no_std/alloc via feature flags.
Documentation
1
2
3
4
5
6
use crate::types::{Output, Scalar, State};

pub trait Readout<S: Scalar> {
    fn predict(&self, state: &State<S>) -> Output<S>;
    fn output_dim(&self) -> usize;
}