pub struct MambaFactory { /* private fields */ }๐Deprecated since 9.7.2:
Use Factory::mamba() instead
Expand description
Factory for streaming Mamba (selective state space) models.
Creates StreamingMamba instances from sampled hyperparameter
configurations. The input dimension d_in is fixed at factory
construction time (not tuned).
ยงConfig Space
| Index | Name | Type | Range | Scale |
|---|---|---|---|---|
| 0 | n_state | Int | [4, 64] | โ |
| 1 | forgetting_factor | Float | [0.95, 0.9999] | linear |
| 2 | warmup | Int | [5, 50] | โ |
Implementationsยง
Trait Implementationsยง
Sourceยงimpl ModelFactory for MambaFactory
impl ModelFactory for MambaFactory
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 MambaFactory
impl RefUnwindSafe for MambaFactory
impl Send for MambaFactory
impl Sync for MambaFactory
impl Unpin for MambaFactory
impl UnsafeUnpin for MambaFactory
impl UnwindSafe for MambaFactory
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