MyNixOS website logo
Description

Time Series Prediction with Integrated Tuning.

Time series prediction is a critical task in data analysis, requiring not only the selection of appropriate models, but also suitable data preprocessing and tuning strategies. TSPredIT (Time Series Prediction with Integrated Tuning) is a framework that provides a seamless integration of data preprocessing, decomposition, model training, hyperparameter optimization, and evaluation. Unlike other frameworks, TSPredIT emphasizes the co-optimization of both preprocessing and modeling steps, improving predictive performance. It supports a variety of statistical and machine learning models, filtering techniques, outlier detection, data augmentation, and ensemble strategies. More information is available in Salles et al. <doi:10.1007/978-3-662-68014-8_2>.

Logo do pacote TSPredIT TSPredIT

GitHubStars CRAN Downloads

TSPredIT (Time Series Prediction with Integrated Tuning) is a framework for time series forecasting that keeps the predictive workflow modular while expanding what can be tuned around it. Built on top of DAL Toolbox, it helps the reader move from a raw series to a complete forecasting pipeline that may include temporal sampling, filtering, augmentation, normalization, prediction, comparison, and integrated tuning.

The package is not only a collection of forecasters. Its main didactic value is to show that time-series prediction benefits from treating the whole pipeline as a sequence of explicit decisions: how to represent the series, how to split it in time order, whether to smooth noise, whether to enrich the windows, how to scale values, which model family to use, and which protocol should be used for evaluation.


Documentation

The documentation was reorganized to support two complementary entry points:

  • a guided tutorial track for readers who want to learn the workflow step by step
  • thematic example collections for readers who want to inspect one stage of the forecasting pipeline at a time

If you are new to tspredit, start with the tutorials. If you already know the package structure, the thematic collections remain available and were rewritten with a more didactic order and clearer grouping.

Guided tutorial track

  • Tutorials - a 10-part sequence that starts with ARIMA forecasting protocols, then builds the sliding-window MLP pipeline piece by piece, and ends with model comparison and integrated tuning.

Thematic example collections

  • Time-series data utilities - build ts_data, project windows into inputs and targets, and create train/test splits that preserve temporal order.
  • Datasets - inspect the packaged datasets documented in R/data.R and R/tspredbench.R, one dataset at a time.
  • Filtering - compare identity baselines, smoothing methods, robust filters, decomposition methods, and state-space or seasonal adjustments.
  • Lag mapping - study how different lag-selection rules decide which past observations are exposed to the predictor, from positional baselines to correlation-driven and supervised mappings.
  • Augmentation - study when synthetic windows help, from simple perturbations to recency-aware transformations.
  • Normalization - inspect how scale, drift, and differencing affect the signal seen by the predictor.
  • Prediction - move from classical baselines to machine-learning and neural forecasting models, then to tuning.
  • Multivariate forecasting - extend the pipeline to target-centered multivariate workflows by combining one model for y with auxiliary-variable pipelines.
  • Custom extensions - learn how to add your own predictors, filters, augmentations, and normalization methods without breaking the package contract.

Suggested reading order

If you want the clearest learning path across the collections, this sequence is usually the most productive:

  1. Time-series data utilities
  2. Tutorials
  3. Datasets
  4. Filtering
  5. Lag mapping
  6. Augmentation and Normalization
  7. Prediction
  8. Multivariate forecasting
  9. Custom extensions

This order follows the forecasting pipeline more closely: first represent and split the series, then inspect the data, then decide whether to smooth the signal, then decide which lags should become predictors, then apply data expansion and scaling, and only after that compare models and more advanced extensions.

Documentation design

The examples were revised to be more useful for learning:

  • files inside each collection follow a suggested reading order
  • category README files explain why each group exists before listing files
  • examples now open by explaining the method or technique before jumping into code
  • tutorial files no longer expose output front matter at the top of the document

Additional documentation for the underlying DAL Toolbox is available 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.

Metadata

Version

2.0.707

License

Unknown

Platforms (80)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    uefi
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-uefi
  • aarch64-windows
  • aarch64_be-none
  • arc-linux
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-linux
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • sh4-linux
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-uefi
  • x86_64-windows