Comments (2)
Nice idea. I was considering this yesterday and am also thinking lists are a good way of handling this. Furthermore, we need to consider if we expose shared arguments between models (e.g. lamda) in these lists or with a common argument. If it is in a common argument and the list, the list should take priority over the shared argument to allow the use to pass different values to each model (e.g. lambda is shared by ets, auto.arima, and nnetar while tbats takes use.box.cox. The user should be able to set lambda = 0.5 as an argument for all functions while also setting e.args(lambda = 0.75) and t.args = list(use.box.cox = FALSE) for example).
from forecasthybrid.
This is closed in d2e4b96
xreg
is removed as an argument and now handled in a.args
and s.args
(e.g. a.args = list(xreg = matrix(rnorm(10, nrow = 5))
lambda
remains as an argument but can also be passed in a.args
/e.args
/n.args
/s.args
. If it is passed as both an argument and in one of the lists, the more specific list takes priority (for that particular model).
For example,
hybridModel(rnorm(100), models = "aents", lambda = 0.5, a.args = list(lambda = 0.75), e.args = list(lambda = 0.25)
will set lambda
to 0.75 for the auto.arima model, 0.25 for the ets model, and 0.5 for the other models (ignored by tbats since tbats merely uses/doesn't use a transform during model selection).
from forecasthybrid.
Related Issues (20)
- forecastHybrid CRAN update needed HOT 1
- Using forecastHybrid with hts HOT 3
- debug cvts refactor
- unclear forecast value for R timeseries HOT 4
- ts object not recognised in hybridModel of forecastHybrid package HOT 9
- Error with cvts example HOT 2
- Forecast using new ts data and an existing (ie previously fit) model HOT 1
- ExtractForecasts HOT 2
- add snaive model
- Matrix of weights HOT 2
- libcudart version HOT 2
- Error with two regressors HOT 7
- Forecast reconciliation HOT 2
- Restrict to a single core HOT 4
- Adding ARFIMA models.
- Computation of residuals HOT 1
- CV of an hybrid model with xreg.
- Idea: Add Facebook's Pophet model
- CV ggplot2::economics HOT 1
- Error on extractForecasts() from a Hybrid Model with cross validation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from forecasthybrid.