Skip to main content

estimate

Function estimate 

Source
pub fn estimate(
    profile: &CountProfile,
    estimator: Estimator,
    threshold: u64,
) -> Result<Estimate>
Expand description

Estimates the entropy of a position with the requested estimator, applying the documented fallbacks (support ≤ T for dima; N = 1 for Miller–Madow and Chao–Wang–Jost).

§Errors

DimaError::Internal if a reported value is not a finite number of at least 0 bits (it cannot be for valid counts; a violation is a bug).