pub mod entropy;
pub mod mm;
pub mod persistence;
pub mod qe;
pub mod separation;
pub mod shuffle;
pub mod storage;
pub use entropy::{dmi, nmi};
pub use persistence::persistence;
pub use separation::init_separation;
pub use shuffle::shuffle_corrected;
pub use storage::{memory, storage};
#[derive(Debug, Clone, Copy)]
pub enum Estimator {
Plugin,
MillerMadow,
QE,
}
#[derive(Debug, Clone)]
pub struct MetricConfig {
pub estimator: Estimator,
pub max_delta: usize,
pub n_shuffles: usize,
pub seed: u64,
}
impl Default for MetricConfig {
fn default() -> Self {
Self {
estimator: Estimator::Plugin,
max_delta: 15,
n_shuffles: 10,
seed: 42,
}
}
}