Code Generation for Machine Learning using Model-Driven Engineering and SysML

Simon Raedler, Matthias Rupp, Eugen Rigger, Stefanie Rinderle-Ma
7/10/2023
cs.SEcs.AI

No official code found. Best implementation: sraedler/MDE_for_ML_Generation (4 stars, LGPL-2.1, last commit 2025-01-09).

Abstract

Data-driven engineering refers to systematic data collection and processing using machine learning to improve engineering systems. Currently, the implementation of data-driven engineering relies on fundamental data science and software engineering skills. At the same time, model-based engineering is gaining relevance for the engineering of complex systems. In previous work, a model-based engineering approach integrating the formalization of machine learning tasks using the general-purpose modeling language SysML is presented. However, formalized machine learning tasks still require the implementation in a specialized programming languages like Python. Therefore, this work aims to facilitate the implementation of data-driven engineering in practice by extending the previous work of formalizing machine learning tasks by integrating model transformation to generate executable code. The method focuses on the modifiability and maintainability of the model transformation so that extensions and changes to the code generation can be integrated without requiring modifications to the code generator. The presented method is evaluated for feasibility in a case study to predict weather forecasts. Based thereon, quality attributes of model transformations are assessed and discussed. Results demonstrate the flexibility and the simplicity of the method reducing efforts for implementation. Further, the work builds a theoretical basis for standardizing data-driven engineering implementation in practice.

View on arXivView PDF

Code Implementations(1)

LGPL-2.1

Model-Driven Engineering approach to generate Machine Learning code based on SysML formalization

41D, JavaNov 17, 20221 years agoLGPL-2.1
machine-learningmdemodel-driven-developmentmodel-driven-engineering

Similar Papers

Cite this paper

@article{raedler2023code,
  title  = {Code Generation for Machine Learning using Model-Driven Engineering and SysML},
  author = {Simon Raedler and Matthias Rupp and Eugen Rigger and Stefanie Rinderle-Ma},
  year   = {2023},
  eprint = {2307.05584},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.05584v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.05584.svg)](https://codeofpaper.com/paper/2307.05584)

Discussion