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

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.767

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Eduardo Ogasawara

Last Published

February 11th, 2026

Functions in tspredit (1.2.767)

adjust_ts_data

Adjust ts_data
emissions

FAOSTAT Emissions Totals
ts_fil_ses

Simple Exponential Smoothing
ts_fil_qes

Quadratic Exponential Smoothing
ts_fil_smooth

Time Series Smooth
ts_fil_recursive

Recursive Filter
ts_data

ts_data
ts_elm

ELM
ts_aug_none

No Augmentation
stocks

IBOVESPA's 50 Most Traded Stocks
select_hyper.ts_tune

Select Optimal Hyperparameters for Time Series Models
ts_head

Extract the First Observations from a ts_data Object
ts_fil_ma

Moving Average (MA)
ts_fil_winsor

Winsorization of Time Series
ts_aug_shrink

Augmentation by Shrink
ts_fil_none

No Filter
ts_aug_jitter

Augmentation by Jitter
ts_aug_flip

Augmentation by Flip
m4

M4 Competition Time Series
m3

M3 Competition Time Series
loadfulldata

Load Full Dataset From Mini Data Object
ts_fil_spline

Smoothing Splines
ts_mlp

MLP
m1

M1 Competition Time Series
ts_sample

Time Series Sample
ts_rf

Random Forest
ts_norm_an

Adaptive Normalization
ts_fil_emd

EMD Filter
ts_norm_ean

Adaptive Normalization with EMA
ts_aug_stretch

Augmentation by Stretch
ts_aug_wormhole

Augmentation by Wormhole
ts_norm_diff

First Differences
ts_fil_ema

Exponential Moving Average (EMA)
bioenergy

FAOSTAT Bioenergy Database
ts_fil_fft

FFT Filter
ts_aug_awaresmooth

Augmentation by Awareness Smooth
ts_aug_awareness

Augmentation by Awareness
sMAPE.ts

sMAPE
ts_fil_kalman

Kalman Filter
ts_fil_lowess

LOWESS Smoothing
ts_fil_hp

Hodrick-Prescott Filter
pesticides

Pesticides Use Statistics
ts_norm_none

No Normalization
ts_fil_wavelet

Wavelet Filter
ts_integtune

Time Series Integrated Tune
ts_norm_gminmax

Global Min–Max Normalization
ts_projection

Time Series Projection
ts_norm_swminmax

Sliding-Window Min–Max Normalization
tsd

Time series example dataset
ts_knn

KNN Time Series Prediction
ts_tune

Time Series Tune
ts_svm

SVM
ts_fil_remd

Robust EMD Filter
ts_regsw

TSRegSW
ts_fil_seas_adj

Seasonal Adjustment
ts_reg

TSReg
CATS

CATS Time Series Competition
MSE.ts

MSE
do_predict

Predict Time Series Model
R2.ts

R2
do_fit

Fit Time Series Model
ts_arima

ARIMA
[.ts_data

Subset Extraction for Time Series Data
EUNITE.Reg

EUNITE Competition – Regressors for Load Forecasting
NN5

NN5 Time Series Competition
SantaFe.D

Santa Fe Time Series Competition - Series D
EUNITE.Loads

EUNITE Competition – Half-Hourly Electrical Loads
SantaFe.A

Santa Fe Time Series Competition - Series A
EUNITE.Temp

EUNITE Competition – Average Daily Temperatures
NN3

NN3 Time Series Competition - Dataset A
gdp

Gross Domestic Product and Agriculture Value Added
climate

FAOSTAT Temperature Change on Land
fertilizers

FAOSTAT Fertilizers by Nutrient
ipeadata.d

Ipea Daily Macroeconomic Dataset
ipeadata.m

Ipea Monthly Macroeconomic Dataset