MLwrap: Simplifying Machine Learning workflows in R

preprint OA: closed CC-BY-4.0
🔓 Open OA copy View at publisher

Abstract

MLwrap is an R package designed to make the implementation of machine learning (ML) workflows accessible, efficient, and reproducible, particularly within the framework of the Knowledge Discovery in Databases (KDD) process. The package provides a unified and minimalistic interface that covers all essential stages of predictive modeling, including data preprocessing, model construction, hyperparameter optimization, and sensitivity analysis. MLwrap supports a range of widely used algorithms, such as Multilayer Perceptron Neural Networks, Support Vector Machines, Random Forests and XGBoost Decision Trees, and incorporates evidence-based default hyperparameter ranges to facilitate robust model selection. The workflow is organized into four core functions: preprocessing(), build_model(), fine_tuning(), and sensitivity_analysis(), which together streamline the entire ML pipeline and encapsulate all steps within a single, reproducible analysis object. Through two illustrative examples using the included sim_data dataset, this paper demonstrates the application of MLwrap to both regression and classification tasks, highlighting its capacity to simplify complex workflows and provide interpretable results. The package aims to empower analysts and researchers, especially in the health, social and behavioral sciences, to efficiently extract actionable insights from data while ensuring transparency and reproducibility in their analyses. MLwrap: “Start simple, scale smart”.

My notes (saved in your browser only)

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00
unpaywall
last seen: 2026-05-26T02:00:01.498150+00:00
License: CC-BY-4.0