From d1211cdd3fc8bf840270fec741e3500e1a5cd9bc Mon Sep 17 00:00:00 2001 From: mdancho84 Date: Sun, 29 Oct 2023 00:16:38 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20business?= =?UTF-8?q?-science/timetk@716d47d46fa708a35f52c9681b39bd6b643df9a6=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...recasting_Using_Time_Series_Signature.html | 106 +++++++++--------- ..._Plotting_Seasonality_and_Correlation.html | 20 ++-- .../TK08_Automatic_Anomaly_Detection.html | 4 +- ...recasting_Using_Time_Series_Signature.html | 20 ++-- ..._Plotting_Seasonality_and_Correlation.html | 20 ++-- .../TK08_Automatic_Anomaly_Detection.html | 4 +- pkgdown.yml | 2 +- reference/anomalize.html | 34 ++---- reference/plot_anomalies.html | 37 +++--- reference/step_box_cox.html | 8 +- reference/step_diff.html | 26 ++--- reference/step_fourier.html | 18 +-- reference/step_holiday_signature.html | 46 ++++---- reference/step_log_interval.html | 8 +- reference/step_timeseries_signature.html | 22 ++-- reference/step_ts_clean.html | 8 +- reference/step_ts_impute.html | 8 +- reference/step_ts_pad.html | 4 +- reference/tk_index.html | 28 ++--- reference/tk_ts.html | 30 ++--- reference/tk_xts.html | 30 ++--- reference/tk_zoo.html | 36 +++--- reference/tk_zooreg.html | 20 ++-- search.json | 2 +- 24 files changed, 256 insertions(+), 285 deletions(-) diff --git a/articles/TK03_Forecasting_Using_Time_Series_Signature.html b/articles/TK03_Forecasting_Using_Time_Series_Signature.html index e0cdb7cb..7ee05ccc 100644 --- a/articles/TK03_Forecasting_Using_Time_Series_Signature.html +++ b/articles/TK03_Forecasting_Using_Time_Series_Signature.html @@ -506,23 +506,23 @@

Accuracy (Testing Set)calibration_table %>% modeltime::modeltime_accuracy() %>% modeltime::table_modeltime_accuracy(.interactive = interactive) -
- diff --git a/articles/TK05_Plotting_Seasonality_and_Correlation.html b/articles/TK05_Plotting_Seasonality_and_Correlation.html index 4c22439e..a0b5d913 100644 --- a/articles/TK05_Plotting_Seasonality_and_Correlation.html +++ b/articles/TK05_Plotting_Seasonality_and_Correlation.html @@ -203,8 +203,8 @@

Grouped ACF Diagnostics .lags = "7 days", # 7-Days of hourly lags .interactive = interactive )

-
- +
+
-
- +
+
-
- +
+

Grouped Seasonal Visualizations @@ -242,8 +242,8 @@

Grouped Seasonal Visualizationsm4_hourly %>% group_by(id) %>% plot_seasonal_diagnostics(date, value, .interactive = interactive)

-
- +
+
@@ -257,8 +257,8 @@

STL Diagnostics .frequency = "auto", .trend = "auto", .feature_set = c("observed", "season", "trend", "remainder"), .interactive = interactive)

-
- +
+

Learning More diff --git a/articles/TK08_Automatic_Anomaly_Detection.html b/articles/TK08_Automatic_Anomaly_Detection.html index fb4e5f78..13cd32f9 100644 --- a/articles/TK08_Automatic_Anomaly_Detection.html +++ b/articles/TK08_Automatic_Anomaly_Detection.html @@ -215,8 +215,8 @@

Anomaly Visualizationwalmart_sales_weekly %>% group_by(Store, Dept) %>% plot_anomaly_diagnostics(Date, Weekly_Sales, .facet_ncol = 2)

-
- +
+

Automatic Anomaly Detection diff --git a/articles/temp_archive/TK03_Forecasting_Using_Time_Series_Signature.html b/articles/temp_archive/TK03_Forecasting_Using_Time_Series_Signature.html index b24d254a..e21ff3c3 100644 --- a/articles/temp_archive/TK03_Forecasting_Using_Time_Series_Signature.html +++ b/articles/temp_archive/TK03_Forecasting_Using_Time_Series_Signature.html @@ -232,8 +232,8 @@

Data
 bike_transactions_tbl %>%
   plot_time_series(date, value, .interactive = interactive)
-
- +
+

Train / Test @@ -262,8 +262,8 @@

Train / Testsplits %>% tk_time_series_cv_plan() %>% plot_time_series_cv_plan(date, value, .interactive = interactive)

-
- +
+

Modeling @@ -483,8 +483,8 @@

Forecast (Testing Set)calibration_table %>% modeltime_forecast(actual_data = bike_transactions_tbl) %>% plot_modeltime_forecast(.interactive = interactive)

-
- +
+

Accuracy (Testing Set) @@ -500,8 +500,8 @@

Accuracy (Testing Set)calibration_table %>% modeltime_accuracy() %>% table_modeltime_accuracy(.interactive = interactive)

-
- +
+
@@ -524,8 +524,8 @@

Refit and Forecast Forward modeltime_refit(bike_transactions_tbl) %>% modeltime_forecast(h = "12 months", actual_data = bike_transactions_tbl) %>% plot_modeltime_forecast(.interactive = interactive)

-
- +
+
diff --git a/articles/temp_archive/TK05_Plotting_Seasonality_and_Correlation.html b/articles/temp_archive/TK05_Plotting_Seasonality_and_Correlation.html index 7a7811ba..81fb9c6c 100644 --- a/articles/temp_archive/TK05_Plotting_Seasonality_and_Correlation.html +++ b/articles/temp_archive/TK05_Plotting_Seasonality_and_Correlation.html @@ -203,8 +203,8 @@

Grouped ACF Diagnostics .lags = "7 days", # 7-Days of hourly lags .interactive = interactive )

-
- +
+
-
- +
+
-
- +
+

Grouped Seasonal Visualizations @@ -242,8 +242,8 @@

Grouped Seasonal Visualizationsm4_hourly %>% group_by(id) %>% plot_seasonal_diagnostics(date, value, .interactive = interactive)

-
- +
+
@@ -257,8 +257,8 @@

STL Diagnostics .frequency = "auto", .trend = "auto", .feature_set = c("observed", "season", "trend", "remainder"), .interactive = interactive)

-
- +
+

Learning More diff --git a/articles/temp_archive/TK08_Automatic_Anomaly_Detection.html b/articles/temp_archive/TK08_Automatic_Anomaly_Detection.html index 5c5bc4b2..6c34c65f 100644 --- a/articles/temp_archive/TK08_Automatic_Anomaly_Detection.html +++ b/articles/temp_archive/TK08_Automatic_Anomaly_Detection.html @@ -215,8 +215,8 @@

Anomaly Visualizationwalmart_sales_weekly %>% group_by(Store, Dept) %>% plot_anomaly_diagnostics(Date, Weekly_Sales, .facet_ncol = 2)

-
- +
+

Automatic Anomaly Detection diff --git a/pkgdown.yml b/pkgdown.yml index 69a2d525..0f3bf710 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -22,7 +22,7 @@ articles: TK07_Time_Series_Data_Wrangling: temp_archive/TK07_Time_Series_Data_Wrangling.html TK08_Automatic_Anomaly_Detection: temp_archive/TK08_Automatic_Anomaly_Detection.html TK09_Clustering: temp_archive/TK09_Clustering.html -last_built: 2023-10-29T00:00Z +last_built: 2023-10-29T00:11Z urls: reference: https://business-science.github.io/timetk/reference article: https://business-science.github.io/timetk/articles diff --git a/reference/anomalize.html b/reference/anomalize.html index 2b4bb12d..b2def273 100644 --- a/reference/anomalize.html +++ b/reference/anomalize.html @@ -137,7 +137,7 @@

Usage .value, .frequency = "auto", .trend = "auto", - .method = "stl", + method = "stl", .iqr_alpha = 0.05, .clean_alpha = 0.75, .max_anomalies = 0.2, @@ -172,11 +172,6 @@

Argumentstk_get_trend().

-
.method
-

The outlier detection method. Default: "stl". Currently -"stl" is the only method. "twitter" is planned.

- -
.iqr_alpha

Controls the width of the "normal" range. Lower values are more conservative while higher values are less prone to incorrectly classifying "normal" observations.

@@ -197,6 +192,11 @@

Arguments +

Value

@@ -267,27 +267,7 @@

Examples filter(id %in% c("1_1", "1_3")) %>% group_by(id) %>% anomalize(Date, Weekly_Sales) -#> frequency = 13 observations per 1 quarter -#> trend = 52 observations per 1 year -#> frequency = 13 observations per 1 quarter -#> trend = 52 observations per 1 year -#> # A tibble: 286 × 13 -#> # Groups: id [2] -#> id Date observed season trend remainder seasadj anomaly -#> <fct> <date> <dbl> <dbl> <dbl> <dbl> <dbl> <chr> -#> 1 1_1 2010-02-05 24924. 874. 19967. 4083. 24050. No -#> 2 1_1 2010-02-12 46039. -698. 19835. 26902. 46737. Yes -#> 3 1_1 2010-02-19 41596. -1216. 19703. 23108. 42812. Yes -#> 4 1_1 2010-02-26 19404. -821. 19571. 653. 20224. No -#> 5 1_1 2010-03-05 21828. 324. 19439. 2064. 21504. No -#> 6 1_1 2010-03-12 21043. 471. 19307. 1265. 20572. No -#> 7 1_1 2010-03-19 22137. 920. 19175. 2041. 21217. No -#> 8 1_1 2010-03-26 26229. 752. 19069. 6409. 25478. No -#> 9 1_1 2010-04-02 57258. 503. 18962. 37794. 56755. Yes -#> 10 1_1 2010-04-09 42961. 1132. 18855. 22974. 41829. Yes -#> # ℹ 276 more rows -#> # ℹ 5 more variables: anomaly_direction <dbl>, anomaly_score <dbl>, -#> # recomposed_l1 <dbl>, recomposed_l2 <dbl>, observed_cleaned <dbl> +#> Error in anomalize(., Date, Weekly_Sales): object '.method' not found

diff --git a/reference/plot_anomalies.html b/reference/plot_anomalies.html index c89ea1bb..f76ab9bc 100644 --- a/reference/plot_anomalies.html +++ b/reference/plot_anomalies.html @@ -1,11 +1,11 @@ -Visualize Anomalies for One or More Time Series — plot_anomalies • timetkVisualize Anomalies for One or More Time Series — plot_anomalies • timetk