Code Monkey home page Code Monkey logo

bench-vldb20's Introduction

ImputeBench: Benchmark of Imputation Techniques in Time Series

ImputeBench implements SOTA recovery techniques for blocks of missing values in time series and evaluates their precision and runtime on various real-world time series datasets using different recovery scenarios. Technical details can be found in our PVLDB 2020 paper: Mind the Gap: An Experimental Evaluation of Imputation of Missing Values Techniques in Time Series . The benchmark can be easity extended with new algorithms (C/C++, Python or Matlab), new datasets and new scenarios.

Prerequisites | Build | Execution | Extension | Contributors | Award | Citation


Prerequisites


Build

  • Build the Testing Framework using the installation script located in the root folder (takes several minutes)
    $ sh install_linux.sh
  • [Optional] This script installs all the extra Python packages required by the newly added algorithms (SSA, MRNN and BRITS):
    $ sh install_extra.sh

Execution

    $ cd TestingFramework/bin/Debug/
    $ mono TestingFramework.exe [arguments]

Arguments

-alg -d -scen
cdrec airq miss_perc
dynammo bafu ts_length
grouse chlorine ts_nbr
rosl climate miss_disj
softimp drift10 miss_over
svdimp electricity mcar
svt meteo blackout
stmvl temp all
spirit bafu_red
tenmf drift10_red
tkcm all
trmf
all
-------- -------- --------
New algs
-------- -------- --------
ssa
m-rnn
brits

Results

All results and plots will be added to Results folder. The accuracy results of all algorithms will be sequentially added for each scenario and dataset to: Results/.../.../error/. The runtime results of all algorithms will be added to: Results/.../.../runtime/. The plots of the recovered blocks will be added to the folder Results/.../.../recovery/plots/.

Execution examples

  1. Run a single algorithm (cdrec) on a single dataset (drift10) using one scenario (missing percentage)
    $ mono TestingFramework.exe -alg cdrec -d drift10 -scen miss_perc
  1. Run two algorithms (cdrec, spirit) on a single dataset (drift10) using one scenario (missing percentage)
    $ mono TestingFramework.exe -alg cdrec,spirit -d drift10 -scen miss_perc
  1. Run point 2 without runtime results
    $ mono TestingFramework.exe -alg cdrec,spirit -d drift10 -scen miss_perc -nort
  1. Run the whole VLDB'20 benchmark (all algorithms, all datasets, all scenarios, precision and runtime)
    $ mono TestingFramework.exe -alg all -d all -scen all

Warning: Running the whole benchmark will take a sizeable amount of time (up to 4 days depending on the hardware) and will produce up to 15GB of output files with all recovered data and plots unless stopped early.

  1. Additional command-line parameters
    $ mono TestingFramework.exe --help

Remark: Algorithms tkcm, spirit, ssa, brits and mr-nn cannot handle multiple incomplete time series. These allgorithms will not produce results for the following scenarios: miss_disj, miss_over, mcar and blackout.

Parametrized execution

  • You can parametrize each algorithm using the command -algx. For example, you can run the svdimp algorithm with a reduction value of 4 on the drift dataset and by varying the sequence length as follows:
    $ mono TestingFramework.exe -algx svdimp 4 -d drift10 -scen ts_nbr
  • If you want to run some algorithms with default parameters, and some with customized ones, you can use -alg and -algx together. For example, you can run stmvl algorithm with default parameter and cdrec algorithm with a reduction value of 4 on the airq dataset and by varying the sequence length as follows:
    $ mono TestingFramework.exe -alg stmvl -algx cdrec 4 -d airq -scen ts_nbr

Remark: The command -algx cannot be executed in group and thus must preceed the name of each algorithm.


Extension


Contributors

Mourad Khayati ([email protected]) and Zakhar Tymchenko ([email protected]).


Award

Imputebench has received the VLDB 2020 Most Reproducible Paper Award.


Citation

@inproceedings{imputebench2020vldb,
 author    = {Mourad Khayati and Alberto Lerner and Zakhar Tymchenko and Philippe Cudr{\'{e}}{-}Mauroux},
 title     = {Mind the Gap: An Experimental Evaluation of Imputation of Missing Values Techniques in Time Series},
 booktitle = {Proceedings of the VLDB Endowment},
 volume    = {13},
 number    = {5},
 year      = {2020}
}

bench-vldb20's People

Contributors

mkhayati avatar zakhartymchenko avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.