Skip to content

"Evaluation procedures for forecasting with spatio-temporal data" -- Mathematics (MDPI) 2021

Notifications You must be signed in to change notification settings

mrfoliveira/STEvaluation-MDPI2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Evaluation Procedures for Forecasting with Spatiotemporal Data (Extension)

This repository contains the research compendium of "Evaluation procedures for forecasting with spatiotemporal data", authored by Mariana Oliveira, Luis Torgo, and Vitor Santos Costa, and published at the Mathematics Journal, on the Special Issue "Spatial Statistics and Its Application".

You are free to use and/or adapt the code we freely provide. However, we do require that if you do that you cite the paper where these results and code were published:

Oliveira M, Torgo L, Santos Costa V. Evaluation Procedures for Forecasting with Spatiotemporal Data. Mathematics. 2021; 9(6):691. https://doi.org/10.3390/math9060691

BibTeX citation:

@Article{Oliveira2021, author = {Oliveira, Mariana and Torgo, Luís and Santos Costa, Vítor}, title = {Evaluation Procedures for Forecasting with Spatiotemporal Data}, journal = {Mathematics}, volume = {9}, year = {2021}, number = {6}, article-number = {691}, url = {https://www.mdpi.com/2227-7390/9/6/691}, issn = {2227-7390}, doi = {10.3390/math9060691}}

This article is an extended version of a conference paper presented at ECML-PKDD 2018 and published as:

Oliveira M, Torgo L, Santos Costa V. "Evaluation Procedures for Forecasting with Spatio-Temporal Data." In Proceedings of the European Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases, ECML-PKDD (pp. 703–718). Springer, Cham, 2018. https://doi.org/10.1007/978-3-030-10925-7_43

If you adapt the code to your own needs, you are also required to maintain information on your code concerning the original source of the code (e.g. the URL of this page) and a reference to the original paper.

Prerequisites

To install this package, run:

library(devtools)  # You need to install this package!
install_github("mrfoliveira/STEvaluation-MDPI2021", ref="master")

To replicate figures, installing the following package is also necessary:

if(!("ggplot2" in installed.packages())) install.packages("ggplot2")

Reproducing experiments

To run experiments, run the following lines:

library(STEvaluationExt)
PATH <- system.file("inst/", package="STEvaluationExt")

# Artificial experiments
source(paste0(PATH, "/step1_gen_data.R"))
source(paste0(PATH, "/step2_artificial_experiments.R"))

# Real-world experiments
source(paste0(PATH, "/step3_read_data.R"))
source(paste0(PATH, "/step4_get_indicators.R"))
source(paste0(PATH, "/step5_real_experiments.R"))

To generate an HTML report containing all figures and tables in the article, run:

knitr::knit(system.file("inst/ExtensionReport.Rmd", package="STEvaluationExt"))

Releases

No releases published

Packages

No packages published

Languages