DataSplits.jl: Data splitting strategies for machine learning in Julia

DataSplits.jl is a Julia package (Bezanson et al., 2017) for constructing training, validation, test, and cross-validation partitions in scientific machine learning workflows.While random train/test splits and standard k-fold cross-validation are widely available in machine learning libraries, many scientific applications require more controlled splitting procedures.The package exposes a single entry point: res = partition(data, strategy; kwargs...) Supported strategies include distance-based representative sample selection for calibration modelling, group-aware validation to avoid leakage between related observations, and timeaware validation for temporally ordered data.The package is lightweight and interoperable with MLUtils.jl,Flux.jl, and MLJ.jl.It can be installed from the Julia General Registry with ] add DataSplits.

Authors

Institutions

Publication Details

Journal
The Journal of Open Source Software
Published
2026-10-30
DOI
https://doi.org/10.21105/joss.11066
Primary Topic
Machine Learning and Data Classification
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

DataSplits.jl: Data splitting strategies for machine learning in Julia

Davide Crucitti, Carlos Pérez Míguez, Adrián Mosquera Orgueira
The Journal of Open Source Software
Machine Learning and Data Classification
article

DataSplits.jl: Data splitting strategies for machine learning in Julia

Davide Crucitti, Carlos Pérez Míguez, Adrián Mosquera Orgueira
article en

Abstract

DataSplits.jl is a Julia package (Bezanson et al., 2017) for constructing training, validation, test, and cross-validation partitions in scientific machine learning workflows.While random train/test splits and standard k-fold cross-validation are widely available in machine learning libraries, many scientific applications require more controlled splitting procedures.The package exposes a single entry point: res = partition(data, strategy; kwargs...) Supported strategies include distance-based representative sample selection for calibration modelling, group-aware validation to avoid leakage between related observations, and timeaware validation for temporally ordered data.The package is lightweight and interoperable with MLUtils.jl,Flux.jl, and MLJ.jl.It can be installed from the Julia General Registry with ] add DataSplits.

The Journal of Open Source SoftwareVol. 11(126)
Universidade de Santiago de Compostela (ES), Complejo Hospitalario Universitario de Santiago (ES), Instituto de Investigación Sanitaria de Santiago (ES), Servicio Gallego de Salud (ES)
Openalex Percentile: Top 66%
Machine Learning and Data Classification
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon