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

Function ens_aggregate_regression_mean

crates/pyopenquant/src/ensemble.rs:37–40  ·  view source on GitHub ↗
(per_model_predictions: Vec<Vec<f64>>)

Source from the content-addressed store, hash-verified

35
36#[pyfunction(name = "aggregate_regression_mean")]
37fn ens_aggregate_regression_mean(per_model_predictions: Vec<Vec<f64>>) -> PyResult<Vec<f64>> {
38 openquant::ensemble_methods::aggregate_regression_mean(&per_model_predictions)
39 .map_err(to_py_err)
40}
41
42#[pyfunction(name = "aggregate_classification_vote")]
43fn ens_aggregate_classification_vote(per_model_predictions: Vec<Vec<u8>>) -> PyResult<Vec<u8>> {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected