MCPcopy Create free account
hub / github.com/Open-Quant/openquant / ens_bootstrap_sample_indices

Function ens_bootstrap_sample_indices

crates/pyopenquant/src/ensemble.rs:17–24  ·  view source on GitHub ↗
(
    n_samples: usize,
    sample_size: usize,
    seed: u64,
)

Source from the content-addressed store, hash-verified

15
16#[pyfunction(name = "bootstrap_sample_indices")]
17fn ens_bootstrap_sample_indices(
18 n_samples: usize,
19 sample_size: usize,
20 seed: u64,
21) -> PyResult<Vec<usize>> {
22 openquant::ensemble_methods::bootstrap_sample_indices(n_samples, sample_size, seed)
23 .map_err(to_py_err)
24}
25
26#[pyfunction(name = "sequential_bootstrap_sample_indices")]
27fn ens_sequential_bootstrap_sample_indices(

Callers

nothing calls this directly

Calls 1

bootstrap_sample_indicesFunction · 0.85

Tested by

no test coverage detected