Skip to content
Myr

Fix comment

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by n4to4 · committed by David Peter · parent cb59053 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/hyperfine/outlier_detection.rs+1 added-1 removed
11 unmodified lines
12pub const OUTLIER_THRESHOLD: f64 = 1.4826 * 10.0;1314/// Compute modifized Z-scores for a given sample. A (unmodified) Z-score is defined by15/// `(x_i - x_mean)/x_stddev` whereas the modified Z-score is defined by `(x_i - x_median)/MAD`16/// where MAD is the median average deviation.16/// where MAD is the median absolute deviation.17///18/// References:19/// - <https://en.wikipedia.org/wiki/Median_absolute_deviation>20pub fn modified_zscores(xs: &[f64]) -> Vec<f64> {
94 unmodified lines