pub struct EsnFactory { /* private fields */ }๐Deprecated since 9.7.2:
Use Factory::esn() instead
Expand description
Factory for echo state networks.
Creates EchoStateNetwork instances from sampled hyperparameter
configurations. The search space covers the four primary ESN
hyperparameters.
ยงConfig Space
| Index | Name | Type | Range | Scale |
|---|---|---|---|---|
| 0 | n_reservoir | Int | [20, 500] | โ |
| 1 | spectral_radius | Float | [0.5, 0.999] | linear |
| 2 | leak_rate | Float | [0.05, 1.0] | linear |
| 3 | input_scaling | Float | [0.1, 5.0] | log |
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Default for EsnFactory
impl Default for EsnFactory
Sourceยงimpl ModelFactory for EsnFactory
impl ModelFactory for EsnFactory
Sourceยงfn warmup_hint(&self) -> usize
fn warmup_hint(&self) -> usize
Minimum samples a new model needs before its metrics are meaningful. Read more
Sourceยงfn config_space(&self) -> ConfigSpace
fn config_space(&self) -> ConfigSpace
The hyperparameter search space for this model type.
Sourceยงfn create(&self, config: &HyperConfig) -> Box<dyn StreamingLearner>
fn create(&self, config: &HyperConfig) -> Box<dyn StreamingLearner>
Create a new model instance from a hyperparameter configuration. Read more
Sourceยงfn name(&self) -> &str
fn name(&self) -> &str
Human-readable name for this model type (e.g., โSGBTโ, โESNโ).
Sourceยงfn complexity_hint(&self) -> usize
fn complexity_hint(&self) -> usize
Approximate model complexity (effective parameter count). Read more
Auto Trait Implementationsยง
impl Freeze for EsnFactory
impl RefUnwindSafe for EsnFactory
impl Send for EsnFactory
impl Sync for EsnFactory
impl Unpin for EsnFactory
impl UnsafeUnpin for EsnFactory
impl UnwindSafe for EsnFactory
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Sourceยงimpl<T> Instrument for T
impl<T> Instrument for T
Sourceยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Sourceยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more