fn get_partitions_with_threshold<'a>(
components: &[&'a ObjectSourceMetaSized],
limit_hs_bins: usize,
threshold: f64,
) -> Option<BTreeMap<String, Vec<&'a ObjectSourceMetaSized>>>Expand description
Given a certain threshold, divide a list of packages into all combinations of (high, medium, low) size and (high,medium,low) using the following outlier detection methods:
- Median and Median Absolute Deviation Method Aggressively detects outliers in size and classifies them by high, medium, low. The high size and low size are separate partitions and deserve bins of their own
- Mean and Standard Deviation Method The medium partition from the previous step is less aggressively classified by using mean for both size and frequency
Note: Assumes components is sorted by descending size