https://github.com/business-science/modeltime.ensemble
Time Series Ensemble Forecasting
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (17.8%) to scientific vocabulary
Keywords
ensemble
ensemble-learning
forecast
forecasting
modeltime
r-package
stacking
stacking-ensemble
tidymodels
time
time-series
timeseries
Keywords from Contributors
arima
ets
prophet
tbats
tidymodeling
timeseries-forecasting
Last synced: 5 months ago
·
JSON representation
Repository
Time Series Ensemble Forecasting
Basic Info
- Host: GitHub
- Owner: business-science
- License: other
- Language: R
- Default Branch: master
- Homepage: https://business-science.github.io/modeltime.ensemble/
- Size: 22.6 MB
Statistics
- Stars: 79
- Watchers: 4
- Forks: 20
- Open Issues: 11
- Releases: 2
Topics
ensemble
ensemble-learning
forecast
forecasting
modeltime
r-package
stacking
stacking-ensemble
tidymodels
time
time-series
timeseries
Created over 5 years ago
· Last pushed 6 months ago
Metadata Files
Readme
Changelog
License
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
message = F,
warning = F,
paged.print = FALSE,
fig.path = "man/figures/README-",
# out.width = "100%"
fig.align = 'center'
)
```
# modeltime.ensemble
[](https://cran.r-project.org/package=modeltime.ensemble)


[](https://github.com/business-science/modeltime.ensemble/actions/workflows/R-CMD-check.yaml)
[](https://app.codecov.io/gh/business-science/modeltime.ensemble?branch=master)
> Ensemble Algorithms for Time Series Forecasting with Modeltime
A `modeltime` extension that implements ___ensemble forecasting methods___ including model averaging, weighted averaging, and stacking.
```{r, echo=F, out.width='100%', fig.align='center'}
knitr::include_graphics("vignettes/stacking.jpg")
```
## Installation
Install the CRAN version:
``` r
install.packages("modeltime.ensemble")
```
Or, install the development version:
``` r
remotes::install_github("business-science/modeltime.ensemble")
```
## Getting Started
1. [Getting Started with Modeltime](https://business-science.github.io/modeltime/articles/getting-started-with-modeltime.html): Learn the basics of forecasting with Modeltime.
2. [Getting Started with Modeltime Ensemble](https://business-science.github.io/modeltime.ensemble/articles/getting-started-with-modeltime-ensemble.html): Learn the basics of forecasting with Modeltime ensemble models.
## Make Your First Ensemble in Minutes
Load the following libraries.
```{r}
library(tidymodels)
library(modeltime)
library(modeltime.ensemble)
library(dplyr)
library(timetk)
```
#### Step 1 - Create a Modeltime Table
Create a _Modeltime Table_ using the `modeltime` package.
```{r}
m750_models
```
#### Step 2 - Make a Modeltime Ensemble
Then turn that Modeltime Table into a ___Modeltime Ensemble.___
```{r}
ensemble_fit <- m750_models %>%
ensemble_average(type = "mean")
ensemble_fit
```
#### Step 3 - Forecast!
To forecast, just follow the [Modeltime Workflow](https://business-science.github.io/modeltime/articles/getting-started-with-modeltime.html).
```{r}
# Calibration
calibration_tbl <- modeltime_table(
ensemble_fit
) %>%
modeltime_calibrate(testing(m750_splits), quiet = FALSE)
# Forecast vs Test Set
calibration_tbl %>%
modeltime_forecast(
new_data = testing(m750_splits),
actual_data = m750
) %>%
plot_modeltime_forecast(.interactive = FALSE)
```
## Meet the modeltime ecosystem
> Learn a growing ecosystem of forecasting packages
```{r, echo=F, out.width='100%', fig.align='center', fig.cap="The modeltime ecosystem is growing"}
knitr::include_graphics("man/figures/modeltime_ecosystem.jpg")
```
Modeltime is part of a __growing ecosystem__ of Modeltime forecasting packages.
- [Modeltime (Machine Learning)](https://business-science.github.io/modeltime/)
- [Modeltime H2O (AutoML)](https://business-science.github.io/modeltime.h2o/)
- [Modeltime GluonTS (Deep Learning)](https://business-science.github.io/modeltime.gluonts/)
- [Modeltime Ensemble (Blending Forecasts)](https://business-science.github.io/modeltime.ensemble/)
- [Modeltime Resample (Backtesting)](https://business-science.github.io/modeltime.resample/)
- [Timetk (Feature Engineering, Data Wrangling, Time Series Visualization)](https://business-science.github.io/timetk/)
## Take the High-Performance Forecasting Course
> Become the forecasting expert for your organization
[_High-Performance Time Series Course_](https://university.business-science.io/p/ds4b-203-r-high-performance-time-series-forecasting/)
### Time Series is Changing
Time series is changing. __Businesses now need 10,000+ time series forecasts every day.__ This is what I call a _High-Performance Time Series Forecasting System (HPTSF)_ - Accurate, Robust, and Scalable Forecasting.
__High-Performance Forecasting Systems will save companies by improving accuracy and scalability.__ Imagine what will happen to your career if you can provide your organization a "High-Performance Time Series Forecasting System" (HPTSF System).
### How to Learn High-Performance Time Series Forecasting
I teach how to build a HPTFS System in my [__High-Performance Time Series Forecasting Course__](https://university.business-science.io/p/ds4b-203-r-high-performance-time-series-forecasting). You will learn:
- __Time Series Machine Learning__ (cutting-edge) with `Modeltime` - 30+ Models (Prophet, ARIMA, XGBoost, Random Forest, & many more)
- __Deep Learning__ with `GluonTS` (Competition Winners)
- __Time Series Preprocessing__, Noise Reduction, & Anomaly Detection
- __Feature engineering__ using lagged variables & external regressors
- __Hyperparameter Tuning__
- __Time series cross-validation__
- __Ensembling__ Multiple Machine Learning & Univariate Modeling Techniques (Competition Winner)
- __Scalable Forecasting__ - Forecast 1000+ time series in parallel
- and more.
Become the Time Series Expert for your organization.
Owner
- Name: Business Science
- Login: business-science
- Kind: organization
- Email: info@business-science.io
- Location: United States of America
- Website: www.business-science.io
- Repositories: 36
- Profile: https://github.com/business-science
Applying data science to business & financial analysis, tw: @bizScienc
GitHub Events
Total
- Watch event: 6
- Issue comment event: 1
- Push event: 3
- Create event: 2
Last Year
- Watch event: 6
- Issue comment event: 1
- Push event: 3
- Create event: 2
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Matt Dancho | m****o@g****m | 181 |
| olivroy | o****1@h****m | 16 |
| Regis A. Ely | r****y@g****m | 1 |
| Alberto Almuiña | a****a@g****m | 1 |
| Aaron Simumba | s****0@g****m | 1 |
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 24
- Total pull requests: 7
- Average time to close issues: about 1 month
- Average time to close pull requests: 6 days
- Total issue authors: 14
- Total pull request authors: 4
- Average comments per issue: 1.29
- Average comments per pull request: 0.86
- Merged pull requests: 7
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- mdancho84 (6)
- Steviey (3)
- vidarsumo (2)
- lg1000 (2)
- spsanderson (2)
- AndrewKostandy (1)
- schwarzpat (1)
- krzjoa (1)
- bdav56 (1)
- tonyk7440 (1)
- topepo (1)
- gbgoutha (1)
- rdavis120 (1)
- LeoTimmermans (1)
Pull Request Authors
- olivroy (5)
- regisely (1)
- asimumba (1)
- AlbertoAlmuinha (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 646 last-month
- Total docker downloads: 21,613
- Total dependent packages: 1
- Total dependent repositories: 1
- Total versions: 13
- Total maintainers: 1
cran.r-project.org: modeltime.ensemble
Ensemble Algorithms for Time Series Forecasting with Modeltime
- Homepage: https://business-science.github.io/modeltime.ensemble/
- Documentation: http://cran.r-project.org/web/packages/modeltime.ensemble/modeltime.ensemble.pdf
- License: MIT + file LICENSE
-
Latest release: 1.1.0
published 6 months ago
Rankings
Docker downloads count: 0.6%
Forks count: 4.9%
Stargazers count: 5.2%
Average: 11.7%
Downloads: 17.1%
Dependent packages count: 18.3%
Dependent repos count: 24.2%
Maintainers (1)
Last synced:
6 months ago
Dependencies
DESCRIPTION
cran
- R >= 3.5 depends
- modeltime >= 1.2.2 depends
- modeltime.resample >= 0.2.1 depends
- cli * imports
- doParallel * imports
- dplyr >= 1.0.0 imports
- foreach * imports
- generics * imports
- glue * imports
- magrittr * imports
- parallel * imports
- parsnip >= 0.1.6 imports
- purrr * imports
- recipes >= 0.1.15 imports
- rlang >= 0.1.2 imports
- rsample * imports
- stringr * imports
- tibble * imports
- tictoc * imports
- tidyr * imports
- timetk >= 2.5.0 imports
- tune >= 0.1.2 imports
- workflows >= 0.2.1 imports
- yardstick * imports
- covr * suggests
- crayon * suggests
- dials * suggests
- earth * suggests
- glmnet * suggests
- gt * suggests
- knitr * suggests
- lubridate * suggests
- progressr * suggests
- qpdf * suggests
- remotes * suggests
- rmarkdown * suggests
- roxygen2 * suggests
- testthat * suggests
- tidymodels * suggests
- tidyverse * suggests
- utils * suggests
- xgboost * suggests