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

Function sampling_get_ind_matrix

crates/pyopenquant/src/sampling.rs:4–9  ·  view source on GitHub ↗
(
    label_endtime: Vec<(usize, usize)>,
    bar_index: Vec<usize>,
)

Source from the content-addressed store, hash-verified

2
3#[pyfunction(name = "get_ind_matrix")]
4fn sampling_get_ind_matrix(
5 label_endtime: Vec<(usize, usize)>,
6 bar_index: Vec<usize>,
7) -> Vec<Vec<u8>> {
8 openquant::sampling::get_ind_matrix(&label_endtime, &bar_index)
9}
10
11#[pyfunction(name = "get_ind_mat_average_uniqueness")]
12fn sampling_get_ind_mat_average_uniqueness(ind_mat: Vec<Vec<u8>>) -> f64 {

Callers

nothing calls this directly

Calls 1

get_ind_matrixFunction · 0.85

Tested by

no test coverage detected