Skip to content

ETNA-759: MedianOutliersTransform and DensityOutliersTransform #30

Merged
merged 8 commits into from
Sep 14, 2021

Conversation

Mr-Geekman
Copy link
Contributor

New classes to work with outliers were added.

@Mr-Geekman Mr-Geekman added the enhancement New feature or request label Sep 13, 2021
@Mr-Geekman Mr-Geekman self-assigned this Sep 13, 2021
dataframe with in_column series with filled with NaNs
"""
result_df = df.copy()
for segment in df.columns.get_level_values("segment"):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add unique().

@codecov-commenter
Copy link

codecov-commenter commented Sep 13, 2021

Codecov Report

❗ No coverage uploaded for pull request base (master@673fb82). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #30   +/-   ##
=========================================
  Coverage          ?   90.28%           
=========================================
  Files             ?       45           
  Lines             ?     1966           
  Branches          ?        0           
=========================================
  Hits              ?     1775           
  Misses            ?      191           
  Partials          ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 673fb82...11ffeee. Read the comment docs.

dict of outliers:
dict of outliers in format {segment: [outliers_timestamps]}
"""
from etna.analysis import get_anomalies_median
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to use both: type_checking and importing inside methods?

@iKintosh iKintosh merged commit 3268b7e into master Sep 14, 2021
@iKintosh iKintosh deleted the ETNA-759 branch September 14, 2021 14:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants