(py: Python<'_>, parent: &Bound<'_, PyModule>)
| 82 | ind_mat: Vec<Vec<u8>>, |
| 83 | n_estimators: usize, |
| 84 | max_samples: f64, |
| 85 | max_features: f64, |
| 86 | random_state: u64, |
| 87 | sample_weight: Option<Vec<f64>>, |
| 88 | ) -> PyResult<Py<PyAny>> { |
| 89 | let x_mat = matrix_from_rows(x)?; |
| 90 | |
| 91 | let mut clf = |
| 92 | openquant::sb_bagging::SequentiallyBootstrappedBaggingClassifier::new(random_state); |
| 93 | clf.n_estimators = n_estimators; |
| 94 | clf.max_samples = openquant::sb_bagging::MaxSamples::Float(max_samples); |
nothing calls this directly
no outgoing calls
no test coverage detected