v0.76.2
v0.76.2 | 23 May 2024
Additions
- Added function to calculate absolute double differences of a time series, which is the sum of absolute differences
between a data record and its preceding and next record. Used in classzScoreIncrements
for finding (isolated)
outliers that are distant from neighboring records. (diive.core.dfun.stats.double_diff_absolute
) - Added small function to calculate z-score stats of a time series (
diive.core.dfun.stats.sstats_zscore
) - Added small function to calculate stats for absolute double differences of a time
series (diive.core.dfun.stats.sstats_doublediff_abs
)
Changes
- Changed the algorithm for outlier detection when using
zScoreIncrements
. Data points are now flagged as outliers if
the z-scores of three absolute differences (previous record, next record and the sum of both) all exceed a specified
threshold. (diive.pkgs.outlierdetection.incremental.zScoreIncrements
)
Notebooks
- Added new notebook for outlier detection using
classLocalOutlierFactorAllData
(notebooks/OutlierDetection/LocalOutlierFactorAllData.ipynb
)
Tests
- Added new test case
forLocalOutlierFactorAllData
(tests.test_outlierdetection.TestOutlierDetection.test_lof_alldata
)
What's Changed
Full Changelog: v0.76.1...v0.76.2