(py: Python<'_>, parent: &Bound<'_, PyModule>)
| 111 | /// differ in length. |
| 112 | #[pyfunction(name = "sequential_bootstrap_sample_indices")] |
| 113 | fn ens_sequential_bootstrap_sample_indices( |
| 114 | ind_mat: Vec<Vec<u8>>, |
| 115 | sample_size: usize, |
| 116 | seed: u64, |
| 117 | ) -> PyResult<Vec<usize>> { |
| 118 | openquant::ensemble_methods::sequential_bootstrap_sample_indices(&ind_mat, sample_size, seed) |
| 119 | .map_err(to_py_err) |
| 120 | } |
| 121 | |
| 122 | /// Element-wise mean of the models' predictions: the bagged regression forecast (AFML 6.3). |
| 123 | /// |
| 124 | /// Parameters |
| 125 | /// ---------- |
| 126 | /// per_model_predictions : list[list[float]] |
| 127 | /// One row per model, one column per observation; every row the same length. |
| 128 | /// |
| 129 | /// Returns |
| 130 | /// ------- |
nothing calls this directly
no outgoing calls
no test coverage detected