Giter Site home page Giter Site logo

imputetestbench's Introduction

imputeTestbench

Neeraj Bokde, [email protected], Marcus W. Beck, [email protected]

R-CMD-check Downloads from the RStudio CRAN mirror

This is the development repository for the imputeTestbench package. This package provides a testbench for comparing imputation methods for missing data in univariate time series.

The development version of this package can be installed from GitHub:

install.packages('devtools')
library(devtools)
install_github('neerajdhanraj/imputeTestbench', ref = 'development')

The current release can be installed from CRAN:

install.packages('imputeTestbench')

Load the package after installation:

library(imputeTestbench)

Basic use

The core function is impute_errors(). See the help documentation for more details.

a <- impute_errors(data = nottem)
a
## $Parameter
## [1] "rmse"
## 
## $MissingPercent
## [1] 10 20 30 40 50 60 70 80 90
## 
## $na.approx
## [1]  0.9745496  1.3856628  1.9129615  2.6498481  3.7849822  5.0208590  6.6343677
## [8]  8.4455223 10.3949327
## 
## $na.interp
## [1]  0.8221107  1.1478071  1.4159549  1.6452581  1.9016976  2.0818991  2.3455729
## [8]  2.6274192 10.3949327
## 
## $na_interpolation
## [1]  0.9745496  1.3856628  1.9129615  2.6498481  3.7849822  5.0208590  6.6343677
## [8]  8.4455223 10.3949327
## 
## $na.locf
## [1]  1.932793  3.029201  3.898818  5.166109  6.233874  7.593585  9.028926
## [8] 10.787879 11.841940
## 
## $na_mean
## [1] 2.634303 3.763457 4.630139 5.450282 6.089774 6.660770 7.192983 7.660656
## [9] 8.323775
plot_errors(a, plotType = 'line')

Citation

Beck MW, Bokde N, Ascencio-Cortes G, Kulat K (2018). โ€œR package imputeTestbench to Compare Imputation Methods for Univarite Time Series.โ€ The R Journal, 10(1), 218-233. doi: 10.32614/RJ-2018-024 (URL: http://doi.org/10.32614/RJ-2018-024).

Bug reports

Please submit any bug reports (or suggestions) using the issues tab of the GitHub page.

License

This package is released in the public domain under the creative commons license CC0.

imputetestbench's People

Contributors

fawda123 avatar neerajdhanraj avatar

Watchers

James Cloos avatar  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.