pub struct CpuBootstrap {
pub max_depth: usize,
pub alpha: f64,
pub alphabet_size: usize,
}Expand description
CPU-based parametric bootstrap (the existing B=200 implementation).
Each replicate resamples each causal state’s pooled emission counts from
its empirical distribution using an Xorshift64 RNG, then recomputes
(C_μ, h_μ). The implementation mirrors [complexity::bootstrap_ci] but
exposes the raw sample vector rather than aggregated percentiles.
Fields§
§max_depth: usizeMaximum CSSR history depth L.
alpha: f64KS significance level α.
alphabet_size: usizeDiscrete alphabet size |A|.
Implementations§
Trait Implementations§
Source§impl BootstrapBackend for CpuBootstrap
impl BootstrapBackend for CpuBootstrap
Source§impl Clone for CpuBootstrap
impl Clone for CpuBootstrap
Source§fn clone(&self) -> CpuBootstrap
fn clone(&self) -> CpuBootstrap
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CpuBootstrap
impl Debug for CpuBootstrap
Auto Trait Implementations§
impl Freeze for CpuBootstrap
impl RefUnwindSafe for CpuBootstrap
impl Send for CpuBootstrap
impl Sync for CpuBootstrap
impl Unpin for CpuBootstrap
impl UnsafeUnpin for CpuBootstrap
impl UnwindSafe for CpuBootstrap
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