Skip to content

Commit

Permalink
plot_anomalies_cleaned
Browse files Browse the repository at this point in the history
  • Loading branch information
mdancho84 committed Oct 29, 2023
1 parent ddbfa64 commit d0c4ba2
Show file tree
Hide file tree
Showing 4 changed files with 432 additions and 9 deletions.
3 changes: 3 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ S3method(plot_acf_diagnostics,data.frame)
S3method(plot_acf_diagnostics,grouped_df)
S3method(plot_anomalies,data.frame)
S3method(plot_anomalies,grouped_df)
S3method(plot_anomalies_cleaned,data.frame)
S3method(plot_anomalies_cleaned,grouped_df)
S3method(plot_anomalies_decomp,data.frame)
S3method(plot_anomalies_decomp,grouped_df)
S3method(plot_anomaly_diagnostics,data.frame)
Expand Down Expand Up @@ -289,6 +291,7 @@ export(parse_date2)
export(parse_datetime2)
export(plot_acf_diagnostics)
export(plot_anomalies)
export(plot_anomalies_cleaned)
export(plot_anomalies_decomp)
export(plot_anomaly_diagnostics)
export(plot_seasonal_diagnostics)
Expand Down
15 changes: 14 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
# timetk (development version)
# timetk 2.8.4.9000

### Anomalize Integration:

`anomalize` R package is now available in `timetk`:

1. `anomlize()`: 1 function that breaks down, identifies, and cleans anomalies
2. `plot_anomalies()`: Visualize the anomalies and anomaly bands
3. `plot_anomalies_decomp()`: Visualize the time series decomposition. Make adjustments as needed.
4. `plot_anomalies_cleaned()`: Visualize the before/after of cleaning anomalies.

Note - `anomalize(.method)`: Only the `.method = "stl"` is supported at this time. The `"twitter"` method is also planned.

### Other Changes:

- Removed dependency on tidymodels. (#154, @olivroy).

Expand Down
Loading

0 comments on commit d0c4ba2

Please sign in to comment.