♻ Changed
- In `TimeseriesExtractor`, `fd_threshold` can now be a dictionary, which includes a sub-key called "outlier_percentage",
a float value between 0 and 1 representing a percentage. Runs where the proportion of volumes exceeding the "threshold"
is higher than this percentage are removed. If `condition` is specified in `self.get_bold`, only the runs where the
proportion of volumes exceeds this value for the specific condition of interest are removed. A warning is issued
whenever a run is flagged.
- As of now, flagging and removal of runs, due to "outlier_percentage", is conducted after timeseries extraction.
This was done to minimize disrupting the original code and for easier testing for feature reliability as significant
code refactoring could cause unintended behaviors and requires longer testing for reliability. In a future patch, runs
will be assessed to see if they meet the exclusion criteria due to "outlier_percentage" prior to extraction and will be
skipped if flagged.
💻 Metadata
- Warning issue if cosine similarity is 0.
- Minor improvements to warning clarity.
- Changelog versioning updated for transparency since patches may include changes to parameters to improve behavior or
added paramaters to fix behavior. But these changes will be backwards compatible.