An open API service indexing awesome lists of open source software.

https://github.com/robjhyndman/m4metalearning


https://github.com/robjhyndman/m4metalearning

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

---
output: github_document
---

```{r, echo = FALSE, results = 'hide', message=FALSE, warning=FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
options(knitr.duplicate.label = 'allow')
rmarkdown::render("docs/M4_methodology.Rmd", output_format = "html_document")
rmarkdown::render("docs/M4_reprod.Rmd", output_format = "github_document")
rmarkdown::render("vignettes/metalearning_example.Rmd",
output_format = "github_document")
file.rename("vignettes/metalearning_example.md", "docs/metalearning_example.md")

```

This page contains the explanation of our forecast method for the M4 competition, authored by Pablo Montero-Manso, Thiyanga Talagala, Rob J Hyndman and George Athanasopoulos.

As part of our submission, we are producing the R package `M4metalearning`, see instalation instructions below. This package is intended to facilitate reproducing the results of our submission, but can also the used on its own to apply our approach to other datasets, either using the pretrained model submitted to the M4 competition or by training new models.

Additionaly, the authors have produced another R package `M4comp2018`, which facilitates the users the access to the M4 competition dataset. [The M4comp2018 package can be found here](https://github.com/carlanetto/M4comp2018)

The description is divided into three sections, the first t

1. [Methodology](http://htmlpreview.github.io/?https://github.com/robjhyndman/M4metalearning/blob/master/docs/M4_methodology.html)
2. [Reproducing the results](docs/M4_reprod.md)
3. [Usage example of the package](docs/metalearning_example.md)

# M4metalearning

The goal of the `M4Metalearning` package is to provide a forecasting metalearning tools based on our submission to the M4 competition.

## Installation

You can install `M4metalearning` from github with:

```{r gh-installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("robjhyndman/M4metalearning")
```

### Note

M4metalearning is using, for the time being, a slight modification of the `tsfeatures` package. Please install it from:

```{r , eval = FALSE}
# install.packages("devtools")
devtools::install_github("pmontman/tsfeatures")
```

Also, a custom version of the `xgboost` package is required. It is installed automatically when calling the training functions that use it, since it does not break compatibility. It just supports customized multiclass objective functions. You may install it manually from:

```{r , eval = FALSE}
# install.packages("devtools")
devtools::install_github("pmontman/customxgboost")
```

###Usage

For an example of the usage of the package [see this page](docs/metalearning_example.md)