Learn R Programming

TSPredIT

TSPredIT (Time Series Prediction with Integrated Tuning) is a framework for time series prediction with automatic preprocessing and hyperparameter optimization. It is built on top of the DAL Toolbox and enhances its capabilities by integrating several advanced functionalities:

  • Automatic hyperparameter tuning for models and preprocessing
  • Outlier detection and removal
  • Time series data augmentation
  • Filtering techniques for noise reduction
  • Ensemble learning support
  • Modular and extensible workflow for predictive modeling

TSPredIT is designed to provide a more flexible and customizable pipeline for building predictive models on time series data, making it easier to compare alternatives and automate repetitive tasks.


Examples

Examples of TSPredIT usage are available in the official GitHub repository:

Additional documentation and tutorials for the underlying DAL Toolbox can be found at:


Installation

The latest version of TSPredIT is available on CRAN:

install.packages("tspredit")

You can install the development version from GitHub:

library(devtools)
devtools::install_github("cefet-rj-dal/tspredit", force = TRUE, upgrade = "never")

Bug reports and feature requests

To report issues or suggest improvements, please open a ticket here:

https://github.com/cefet-rj-dal/tspredit/issues

Copy Link

Version

Install

install.packages('tspredit')

Monthly Downloads

12,046

Version

1.2.747

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Eduardo Ogasawara

Last Published

October 27th, 2025

Functions in tspredit (1.2.747)

ts_norm_swminmax

Sliding-Window Min–Max Normalization
ts_fil_spline

Smoothing Splines
ts_fil_remd

Robust EMD Filter
ts_fil_wavelet

Wavelet Filter
ts_reg

TSReg
ts_rf

Random Forest
ts_projection

Time Series Projection
ts_head

Extract the First Observations from a ts_data Object
ts_norm_ean

Adaptive Normalization with EMA
ts_svm

SVM
ts_tune

Time Series Tune
ts_regsw

TSRegSW
ts_norm_gminmax

Global Min–Max Normalization
tsd

Time series example dataset
ts_norm_none

No Normalization
ts_fil_seas_adj

Seasonal Adjustment
ts_norm_diff

First Differences
ts_sample

Time Series Sample
ts_fil_winsor

Winsorization of Time Series
ts_integtune

Time Series Integrated Tune
ts_norm_an

Adaptive Normalization
ts_knn

KNN Time Series Prediction
ts_mlp

MLP
ts_fil_none

No Filter
ts_fil_ses

Simple Exponential Smoothing
ts_fil_smooth

Time Series Smooth
do_predict

Predict Time Series Model
fertilizers

Fertilizers (Regression)
R2.ts

R2
select_hyper.ts_tune

Select Optimal Hyperparameters for Time Series Models
adjust_ts_data

Adjust ts_data
ts_arima

ARIMA
sMAPE.ts

sMAPE
ts_aug_awaresmooth

Augmentation by Awareness Smooth
do_fit

Fit Time Series Model
MSE.ts

MSE
[.ts_data

Subset Extraction for Time Series Data
ts_aug_awareness

Augmentation by Awareness
ts_aug_wormhole

Augmentation by Wormhole
ts_elm

ELM
ts_aug_shrink

Augmentation by Shrink
ts_data

ts_data
ts_aug_none

No Augmentation
ts_aug_jitter

Augmentation by Jitter
ts_aug_flip

Augmentation by Flip
ts_aug_stretch

Augmentation by Stretch
ts_fil_ma

Moving Average (MA)
ts_fil_ema

Exponential Moving Average (EMA)
ts_fil_kalman

Kalman Filter
ts_fil_lowess

LOWESS Smoothing
ts_fil_fft

FFT Filter
ts_fil_emd

EMD Filter
ts_fil_hp

Hodrick-Prescott Filter
ts_fil_qes

Quadratic Exponential Smoothing
ts_fil_recursive

Recursive Filter