(
single_estimator_variance: f64,
average_correlation: f64,
n_estimators: usize,
)
| 67 | |
| 68 | #[pyfunction(name = "bagging_ensemble_variance")] |
| 69 | fn ens_bagging_ensemble_variance( |
| 70 | single_estimator_variance: f64, |
| 71 | average_correlation: f64, |
| 72 | n_estimators: usize, |
| 73 | ) -> PyResult<f64> { |
| 74 | openquant::ensemble_methods::bagging_ensemble_variance( |
| 75 | single_estimator_variance, |
| 76 | average_correlation, |
| 77 | n_estimators, |
| 78 | ) |
| 79 | .map_err(to_py_err) |
| 80 | } |
| 81 | |
| 82 | #[pyfunction(name = "recommend_bagging_vs_boosting")] |
| 83 | fn ens_recommend_bagging_vs_boosting( |
nothing calls this directly
no test coverage detected