Learn R Programming

DAL Toolbox

The goal of DAL Toolbox is to provide a series data analytics functions organized as a framework. It supports data preprocessing, classification, regression, clustering, and time series prediction functions.

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")

Examples

Graphics: https://github.com/cefet-rj-dal/daltoolbox/tree/main/graphics/

Transformation: https://github.com/cefet-rj-dal/daltoolbox/tree/main/transf/

Classification: https://github.com/cefet-rj-dal/daltoolbox/tree/main/classification/

Clustering: https://github.com/cefet-rj-dal/daltoolbox/tree/main/clustering/

Regression: https://github.com/cefet-rj-dal/daltoolbox/tree/main/regression/

Time series: https://github.com/cefet-rj-dal/daltoolbox/tree/main/timeseries/

The examples are organized according to general (data preprocessing), clustering, classification, regression, and time series functions. This version has Python integration with Pytorch.

library(daltoolbox)
#> Registered S3 method overwritten by 'quantmod':
#>   method            from
#>   as.zoo.data.frame zoo
#> Registered S3 methods overwritten by 'forecast':
#>   method  from 
#>   head.ts stats
#>   tail.ts stats
#> 
#> Attaching package: 'daltoolbox'
#> The following object is masked from 'package:base':
#> 
#>     transform
## loading DAL Toolbox

Bugs and new features request

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

Copy Link

Version

Install

install.packages('daltoolbox')

Monthly Downloads

559

Version

1.2.707

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Eduardo Ogasawara

Last Published

May 13th, 2025

Functions in daltoolbox (1.2.707)

dal_base

Class dal_base
data_sample

Data Sample
cluster_pam

PAM
evaluate

Evaluate
outliers_gaussian

outliers_gaussian
clusterer

Clusterer
fit

Fit
plot_bar

Plot bar graph
do_fit

Fit Time Series Model
plot_boxplot_class

Boxplot per class
plot_boxplot

Plot boxplot
plot_points

Plot points
plot_radar

Plot radar
plot_lollipop

Plot lollipop
plot_pieplot

Plot pie
dal_learner

DAL Learner
do_predict

Predict Time Series Model
minmax

Min-max normalization
cluster_dbscan

DBSCAN
dal_tune

DAL Tune
cluster_kmeans

k-means
dal_transform

DAL Transform
dt_pca

PCA
fit_curvature_max

maximum curvature analysis
plot_ts_pred

Plot a time series chart with predictions
fit_curvature_min

minimum curvature analysis
clu_tune

Clustering Tune
cluster

Cluster
predictor

DAL Predict
plot_density_class

Plot density per class
plot_density

Plot density
regression

Regression
smoothing_freq

Smoothing by Freq
smoothing_cluster

Smoothing by cluster
reg_knn

knn regression
reg_dtree

Decision Tree for regression
cla_svm

SVM for classification
plot_stackedbar

Plot stacked bar
outliers_boxplot

outliers_boxplot
plot_ts

Plot time series chart
plot_scatter

Scatter graph
plot_series

Plot series
reg_svm

SVM for regression
reg_tune

Regression Tune
sMAPE.ts

sMAPE
ts_projection

Time Series Projection
ts_reg

TSReg
train_test_from_folds

k-fold training and test partition object
train_test

Train-Test Partition
set_params

Assign parameters
set_params.default

Default Assign parameters
sin_data

Time series example dataset
smoothing_inter

Smoothing by interval
[.ts_data

Subset Extraction for Time Series Data
smoothing

Smoothing
sample_random

Sample Random
cla_tune

Classification Tune
zscore

Z-score normalization
ts_head

Extract the First Observations from a ts_data Object
sample_stratified

Stratified Random Sampling
ts_data

ts_data
ts_regsw

TSRegSW
ts_sample

Time Series Sample
inverse_transform

Inverse Transform
fit.cla_tune

tune hyperparameters of ml model
fit.cluster_dbscan

fit dbscan model
classification

classification
plot_groupedbar

Plot grouped bar
k_fold

K-fold sampling
reg_mlp

MLP for regression
reg_rf

Random Forest for regression
plot_hist

Plot histogram
ts_arima

ARIMA
transform

Transform
select_hyper

Selection hyper parameters
select_hyper.cla_tune

selection of hyperparameters
R2.ts

R2
adjust_ts_data

Adjust ts_data
action

Action
adjust_class_label

Adjust categorical mapping
adjust_matrix

Adjust to matrix
adjust_factor

Adjust factors
adjust_data.frame

Adjust to data frame
action.dal_transform

Action implementation for transform
MSE.ts

MSE
Boston

Boston Housing Data (Regression)
categ_mapping

Categorical mapping
cla_dtree

Decision Tree for classification
cla_rf

Random Forest for classification
cla_mlp

MLP for classification
autoenc_base_e

Autoencoder - Encode
cla_nb

Naive Bayes Classifier
cla_knn

K Nearest Neighbor Classification
cla_majority

Majority Classification
autoenc_base_ed

Autoencoder - Encode-decode