README.md

tsRNN

DOI R build status Codecov License

Time Series Forecasting using Recurrent Neural Networks by Keras

tsRNN tries to provide a ready-to-use time series forecasting suite for recurrent neural networks. The package is enhanced by basic implementations of "simple" algorithms like ARIMA for comparison and provides accuracy measures as well as basic chart options for model comparisons.

Installation

You can install the released version of tsRNN from GitHub with:

remotes::install_github("thfuchs/tsRNN")

Dependencies

Note that tsRNN heavily depends on Keras and the TensorFlow Deep Learning Framework. We currently guarantee the package to work with the following versions:

Software Package | Version ---------------- | -------- Keras | 2.4 TensorFlow | 2.3.1

Try to install both Keras and TensorFlow through the R package keras to avoid difficulties due to misspecified installations:

library(keras)
install_keras(version = "2.4", tensorflow = "2.3.1")

Note: If you have a CUDA-enabled GPU set up on your machine, install the gpu-version of TensorFlow by specifiying tensorflow = "2.3.1-gpu".

Example

This is a basic example which shows you how to solve a common problem:

library(tsRNN)
## basic example code


thfuchs/tsRNN documentation built on April 17, 2021, 11:03 p.m.