paper/paper.md

title: 'mlr3shiny: A graphical user interface for easy machine learning in R' authors: - name: Laurens M. Tetzlaff affiliation: 1, 2 orcid: 0000-0001-9560-2669 - name: Gero Szepannek affiliation: '1' orcid: 0000-0001-8456-1283 date: "31 January 2020" output: pdf_document bibliography: paper.bib tags: - R - shiny - machine learning - data science - graphical user interface - supervised learning affiliations: - index: 1 name: Stralsund University of Applied Sciences - index: 2 name: Jheronimus Academy of Data Science

Introduction and Statement of Need

Within recent years, machine learning (ML) applications have entered many industries and open source software is readily available such as the powerful object-orientated and standardized ML framework mlr3 [@mlr3] an evolution of mlr [@mlr] dating back to 2010 [@ifcs] and based on R [@rcore]. Despite the easy acces to frameworks, their advanced and highly parameterizable functionalities may quickly overwhelm the soaring number of inexperienced newcomers to machine learning.

For this reason, the R package mlr3shiny has been developed as a simple accessible and user-friendly web-application, combining the graphical user interface (GUI) offered by Shiny [@shiny] with the state-of-the-art ML functionalities provided by mlr3. The resulting application enables users to set up machine learning workflows in a very fast way while familiarizing with the basic steps of a machine learning process. Thus, modern ML functionalites can be referenced and applied in an easy to use point-and-click fashion freeing users from coding in R. Especially the latter makes this new package also a valuable tool to be used for teaching introductory ML courses as it is done e.g. at Stralsund University of Applied Sciences (Germany). Working with mlr3shiny facilitates the next step to leverage the entire power of mlr3.

Description of Features

The layout of the application visually guides its users chronologically through the different steps of the machine learning workflow as presented in Figure 1.

Workflow with mlr3shiny

Figure 2 demonstrates the GUI of the application which can be started via:

mlr3shiny::launchMlr3Shiny()

The GUI of mlr3shiny

The ordered tabs of the application represent the core functionalities of mlr3shiny corresponding to the different steps of the workflow as given in Figure 1. A typical ML process starts as follows:

The next three tabs correspond to the different branches in the workflow diagram:

The whole application is designed in such a way that also users new to this field can successfully conduct machine learning experiments. All steps are accompagnied by a help page (red circled question mark in the top right corner) which provides a brief general description of the methodology as well as the functionality for each step. As an important feature, results can be saved for further use: either benchmark results, a final retrained model on the entire data or the predictions on new data. To guard new users from committing easy mistakes and to provide orientation, default input values and examples are given in accordance with current practices. On top, it is ensured that conducted experiments are replicable.

Summary

In summary, the R package mlr3shiny provides a user-friendly web-application that implements the basic steps of a machine learning workflow. As such the access to ML for users unfamiliar with R or coding is facilitated and an easy entry into the universe of machine learning is provided based on the workflow of one of the state-of-the-art ML frameworks.

Acknowledgements

We greatly acknowledge Michel Lang and the mlr3 developer team for helpful discussions and feedback on the design and the architecure of the application. We would further like to acknowledge Rabea Aschenbruck for her constructivism and Stralsund University of Applied Sciences for providing the creative environment that led to this development.

References



LamaTe/mlr3shiny documentation built on April 11, 2025, 11:03 p.m.