(
x: Vec<f64>,
y: Vec<f64>,
n_bins: Option<usize>,
normalize: bool,
)
| 34 | #[pyfunction(name = "get_mutual_info")] |
| 35 | #[pyo3(signature = (x, y, n_bins=None, normalize=false))] |
| 36 | fn codependence_get_mutual_info( |
| 37 | x: Vec<f64>, |
| 38 | y: Vec<f64>, |
| 39 | n_bins: Option<usize>, |
| 40 | normalize: bool, |
| 41 | ) -> PyResult<f64> { |
| 42 | openquant::codependence::get_mutual_info(&x, &y, n_bins, normalize).map_err(to_py_err) |
| 43 | } |
| 44 | |
| 45 | #[pyfunction(name = "variation_of_information_score")] |
| 46 | #[pyo3(signature = (x, y, n_bins=None, normalize=false))] |
nothing calls this directly
no test coverage detected