Deep ++ Extensions for 'daltoolbox'

Provides the Deep ++ extension layer for 'daltoolbox', with components for deep learning, scikit-learn classification, and time-series forecasting through 'reticulate'. The package provides objects that follow the 'daltoolbox' architecture while delegating model creation, fitting, encoding, and prediction to Python libraries such as 'torch' and 'scikit-learn'. In the package name, 'dp' stands for 'Deep ++'. Python implementations are supplied by the companion 'pydaltoolboxdp' package and accessed through 'reticulate'. The overall workflow is inspired by the Experiment Lines approach described in Ogasawara et al. (2009) .


Logo do pacote daltoolboxdp DAL Toolbox Deep ++

GitHubStars CRAN Downloads

daltoolboxdp provides the Deep ++ extension layer for daltoolbox, with emphasis on deep learning and advanced modeling. In the package name, dp stands for Deep ++.

It currently focuses on:

  • Deep learning models backed by torch
  • Scikit-learn classifiers exposed through the daltoolbox API
  • Time-series forecasting models backed by Python
  • Integration of Python model objects into the daltoolbox architecture

These capabilities rely on the reticulate bridge. The algorithms are implemented once in the companion Python package pydaltoolboxdp; this R package preserves the object and workflow conventions of daltoolbox while delegating training, encoding, and prediction to those public Python classes.

The architecture is inspired by the Experiment Lines approach, which promotes modularity, extensibility, and interoperability across tools.
More information on Experiment Lines is available in Ogasawara et al. (2009).


Examples

The example set is organized by topic and generated from the source files under notebooks/. If you are exploring the package for the first time, start from the rendered indexes under examples/.

The current topics are organized around these questions:

  • Which Python-backed autoencoder should I use to compress time-series windows?
  • How do gradient boosting and PyTorch classification fit the daltoolbox architecture?
  • Which Python-backed regression wrappers are available for numeric prediction?
  • How do the time-series examples cover both representation learning and direct forecasting?
  • How do Deep ++ predictors and autoencoders detect anomalies and regime changes?

Rendered examples are available in the examples collection, with thematic subcollections:

  • Autoencoders - autoencoders for time-series windows: simple, convolutional, denoising, LSTM, stacked, and variational variants, in both encode and encode-decode forms.
  • Classification - classification wrappers backed by Python libraries, including scikit-learn and PyTorch neural models.
  • Regression - regression wrappers backed by Python libraries, currently including the PyTorch MLP regressor.
  • Time Series - time-series examples for encoding, reconstruction, and direct forecasting with PyTorch models.
  • Anomalies - LSTM/Conv1D residual detectors and seven autoencoder reconstruction variants.
  • Change Points - adaptive Waypoint with dense, LSTM, and convolutional autoencoders.

Installation

You can install the latest stable version from CRAN:

install.packages("daltoolboxdp")

To install the development version from GitHub:

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

daltoolboxdp does not embed a Python backend. The environment selected by reticulate must also contain a compatible pydaltoolboxdp installation:

reticulate::py_install("pydaltoolboxdp", pip = TRUE)
pydaltoolboxdp Compatible R layer Deep ++ coverage
0.5.x daltoolboxdp 1.3.767 from main autoencoders, tabular models, and time-series forecasting
0.6.x daltoolboxdp 1.3.767 from main adds deep anomaly and Waypoint change-point detection

pydaltoolboxdp 0.6.0 is available from PyPI and supplies the Python implementation used by the R adapters through reticulate.


Bug reports and feature requests

Please report issues or suggest new features via:

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("daltoolboxdp")

1.3.777 by Eduardo Ogasawara, 2 days ago


https://cefet-rj-dal.github.io/daltoolboxdp/, https://github.com/cefet-rj-dal/daltoolboxdp


Report a bug at https://github.com/cefet-rj-dal/daltoolboxdp/issues


Browse source code at https://github.com/cran/daltoolboxdp


Authors: Eduardo Ogasawara [aut, ths, cre] (ORCID: , Diego Salles [aut] , Erich Carvalho [aut] , Janio Lima [aut] , Joao Kongevold [aut] , Lucas Tavares [aut] , Eduardo Bezerra [ctb] , CEFET/RJ [cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports tspredit, daltoolbox, reticulate

Suggests testthat


See at CRAN