TSPredIT is a unified framework for time-series forecasting with integrated tuning. The package organizes the predictive process as a modular pipeline that may include data representation, temporal splitting, filtering, augmentation, normalization, modeling, model comparison, and integrated hyperparameter tuning. In the current package version, 1.2.767, the documentation was reorganized to support a guided learning track and clearer thematic collections.

Didactic organization

The tspredit material is now organized around two complementary entry points. The first is a guided track, recommended for readers who want to learn the forecasting workflow step by step. The second is composed of thematic collections, aimed at readers who want to study each stage of the pipeline separately.

This organization reinforces the main idea behind the framework: time-series forecasting does not depend only on model choice, but on an explicit sequence of decisions about series representation, evaluation protocol, filtering, augmentation, normalization, and integrated tuning.

Available stages and methods

  • Data representation and utilities:
    construction of temporal objects, supervised projection with sliding windows, and train-test splitting that preserves temporal order.
  • Datasets:
    synthetic collections, energy series, macroeconomic indicators, forecasting competition archives, environmental series, and financial series.
  • Filtering:
    smoothing methods, robust filters, spectral approaches, decomposition, state-space filters, and seasonal adjustment methods to prepare the series before modeling.
  • Augmentation:
    strategies to generate new training windows, from local perturbations to recency-aware methods.
  • Normalization:
    global, local, adaptive, and differencing-based strategies to stabilize model inputs.
  • Prediction:
    statistical models, machine-learning regressors, feedforward neural networks, sequence-oriented neural models, and integrated hyperparameter tuning.
  • Customization:
    support for adding new predictors, filters, augmentation methods, and normalization techniques without breaking the framework contract.

Architecture

The tspredit architecture was built on top of DAL Toolbox and emphasizes co-optimization between preprocessing and modeling. Instead of treating the predictor as an isolated step, the framework allows the user to study the joint impact of the choices made throughout the full temporal pipeline.

Installation

The stable version of TSPredIT on CRAN is available at: https://CRAN.R-project.org/package=tspredit

To install the stable CRAN version:

install.packages("tspredit")

To install the development version directly from GitHub:

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

Documentation and examples

The tspredit examples are organized into a guided track and thematic collections covering time-series data utilities, datasets, filtering, augmentation, normalization, prediction, and customization:

https://github.com/cefet-rj-dal/tspredit/tree/main/examples

Presentations

The presentations below were reordered to follow a more didactic learning progression: start with the overall framework view, move through the guided usage flow, understand the data and available datasets, study preprocessing, and only then enter modeling and customization.

  • t01-tspredit.pdf — overview of the tspredit framework and the idea of forecasting with integrated tuning.
  • t02-tutorial.pdf — guided usage track for tspredit, covering forecasting protocols and progressive pipeline construction.
  • t03-data.pdf — time-series data utilities, including tabular representation, supervised projection, and temporal splitting for evaluation.
  • t04-datasets.pdf — understanding datasets and benchmarks before choosing a forecasting workflow.
  • t05-filter.pdf — filtering and series preparation, from the no-filter baseline to more specialized methods.
  • t06-augment.pdf — augmentation of training windows to enrich model learning.
  • t07-normalization.pdf — global, local, and adaptive normalization to stabilize predictor inputs.
  • t08-prediction.pdf — study of forecasting model families and integrated hyperparameter tuning.
  • t09-custom.pdf — extension and customization of the framework with new pipeline components.

Tutorial Playlist