Learn R Programming

DAL Toolbox

As research experiments grow in scale and complexity, data analytics demands tools that go beyond isolated functions. DAL Toolbox is a framework designed to meet these modern challenges by organizing a comprehensive set of data analytics capabilities into an integrated workflow environment. Inspired by the Experiment Line model doi:10.1007/978-3-642-02279-1_20, it supports essential tasks such as data preprocessing, classification, regression, clustering, and time series prediction. With a unified data model, consistent method API, and support for hyperparameter tuning, DAL Toolbox enables the seamless construction and execution of end-to-end analytics pipelines. It also offers easy integration with existing libraries and languages, promoting usability, extensibility, and reproducibility in data science.


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 a specific family of methods

If you are new to daltoolbox, start with the tutorials. If you already know the package structure, the thematic collections remain available and were reorganized with more didactic descriptions.

Guided tutorial track

  • Tutorials
    • a 13-part learning sequence covering first experiment, sampling,
    data quality, preprocessing, baselines, metrics, model comparison, tuning, end-to-end pipelines, regression, clustering, visual analysis, and custom extensions.

Thematic example collections

  • Transformations
    • sampling, balancing, cleaning, scaling, encoding, smoothing,
    feature selection, dimensionality reduction, and curvature-based heuristics.
  • Classification
    • baseline models, core classifier families, and model selection.
  • Regression
    • interpretable models, nonlinear learners, and tuning for numeric
    prediction.
  • Clustering
    • partitional, medoid-based, density-based methods, and clustering
    model selection.
  • Graphics
    • comparison, distribution, relationship, time-oriented, and
    export-focused visualizations.
  • Custom extensions
    • examples showing how to integrate new transformations, classifiers,
    regressors, and clustering methods into the Experiment Line workflow.

Documentation design

The examples were revised to be more useful for learning:

  • files inside each collection are now numbered in a suggested reading order
  • category README files group examples by subject rather than only by class name
  • many examples now include more explanation between code blocks, including interpretation hints and common mistakes

Installation

The latest version of DAL Toolbox at CRAN is available at: https://CRAN.R-project.org/package=daltoolbox

You can install the stable version of DAL Toolbox from CRAN with:

install.packages("daltoolbox")

You can install the development version of DAL Toolbox from GitHub https://github.com/cefet-rj-dal/daltoolbox with:

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

Bugs and new features request

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

Copy Link

Version

Install

install.packages('daltoolbox')

Monthly Downloads

578

Version

1.3.767

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Eduardo Ogasawara

Last Published

July 9th, 2026

Functions in daltoolbox (1.3.767)

cla_tune

Classification tuning (k-fold CV)
cla_mlp

MLP for classification
classification

Classification base class
cla_rpart

CART (rpart)
cla_xgboost

XGBoost
cla_multinom

Multinomial logistic regression
cluutils

Clustering utilities
cluster_hclust

Hierarchical clustering
cluster_louvain_graph

Louvain community detection
cluster_dbscan

DBSCAN
cluster

Cluster
cluster_gmm

Gaussian mixture model clustering (GMM)
cluster_pam

PAM (Partitioning Around Medoids)
cluster_cmeans

Fuzzy c-means
cluster_kmeans

k-means
clusterer

Clusterer
dal_tune

DAL Tune (base for hyperparameter search)
dal_base

Class dal_base
data_sample

Data sampling abstractions
dt_pca

PCA
dal_graphics

Graphics Utilities
discover

Discover
dal_transform

DAL Transform
dal_learner

DAL Learner (base class)
feature_selection_info_gain

Feature selection by information gain
feature_selection_corr

Feature selection by correlation
feature_selection_fss

Feature selection by forward stepwise search
feature_generation

Feature generation
fit_curvature_max

Maximum curvature analysis (elbow detection)
fit.cluster_dbscan

fit dbscan model
evaluate

Evaluate
feature_selection_stepwise

Feature selection by stepwise model selection
fit

Fit
fit.cla_tune

tune hyperparameters of ml model
feature_selection_lasso

Feature selection by lasso
na_removal

Missing value removal
feature_selection_relief

Feature selection by RELIEF
imputation_predictive

Predictive imputation base
minmax

Min-max normalization
imputation_simple

Simple imputation
k_fold

K-fold sampling
fit_curvature_min

Minimum curvature analysis (elbow detection)
hierarchy_cut

Hierarchy mapping by cut
outliers_boxplot

Outlier removal by boxplot (IQR rule)
imputation_tree

Tree-based predictive imputation
inverse_transform

Inverse Transform
pat_cspade

cSPADE sequences
plot_bar

Plot Bar Graph
plot_boxplot_class

Boxplot per class
outliers_gaussian

Outlier removal by Gaussian 3-sigma rule
pattern_miner

Pattern Miner
pat_apriori

Apriori rules
plot_boxplot

Plot boxplot
plot_correlation

Plot correlation
patutils

Pattern mining utilities
pat_eclat

ECLAT itemsets
plot_pieplot

Plot pie
plot_lollipop

Plot lollipop
plot_hist

Plot histogram
plot_density

Plot density
plot_pair_adv

Plot advanced scatter matrix
plot_pair

Plot scatter matrix
plot_parallel

Plot parallel coordinates
plot_density_class

Plot density per class
plot_groupedbar

Plot grouped bar
plot_dendrogram

Plot dendrogram
predictor

Predictor (base for classification/regression)
plot_stackedbar

Plot stacked bar
plot_ts_pred

Plot time series with predictions
predictor_prepare_fit

Prepare predictor fit data
plot_series

Plot series
plot_ts

Plot time series chart
plot_points

Plot points
plot_pixel

Plot pixel visualization
plot_radar

Plot radar
plot_scatter

Scatter graph
reg_knn

K-Nearest Neighbors (KNN) Regression
reg_dtree

Decision Tree for regression
sample_balance

Class balancing (up/down sampling)
reg_tune

Regression tuning (k-fold CV)
reg_rf

Random Forest for regression
reg_svm

SVM for regression
regression

Regression base class
sample_groups

Group sampling
reg_lm

Linear regression (lm)
select_hyper.cla_tune

selection of hyperparameters
reg_mlp

MLP for regression
set_params.default

Default Assign parameters
sample_stratified

Stratified Sampling
sample_random

Random Sampling
smoothing_cluster

Smoothing by class-aware clustering
sample_simple

Simple sampling
smoothing

Smoothing (binning/quantization)
train_test_from_folds

k-Fold Training and Test Partition Object
train_test

Train-Test Partition
select_hyper

Selection of hyperparameters
smoothing_freq

Smoothing by equal frequency
set_params

Assign parameters
zscore

Z-score normalization
transform

Transform
smoothing_quantization

Smoothing by quantization (k-means)
smoothing_inter

Smoothing by equal interval
action.dal_transform

Action implementation for transform
adjust_matrix

Adjust to matrix
adjust_data.frame

Adjust to data frame
aggregation

Aggregation by groups
autoenc_base_e

Autoencoder base (encoder)
action

Action
adjust_class_label

Adjust categorical mapping
adjust_factor

Adjust factors
autoenc_base_ed

Autoencoder base (encoder + decoder)
Boston

Boston Housing Data (Regression)
cla_glm

Logistic regression (GLM)
cla_boosting

Boosting (adabag)
cla_glmnet

LASSO logistic regression (glmnet)
cla_dtree

Decision Tree for classification
categ_mapping

Categorical mapping (one‑hot encoding)
cla_bagging

Bagging (ipred)
bal_oversampling

Random or SMOTE-based class oversampling
cla_knn

K-Nearest Neighbors (KNN) Classification
cla_svm

SVM for classification
bal_subsampling

Random class undersampling
cla_rf

Random Forest for classification
cla_nb

Naive Bayes Classifier
cla_majority

Majority Baseline Classifier
clu_tune

Clustering tuning (intrinsic metric)