arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2307.05584cs.SEcs.AI
收藏

使用模型驱动工程与SysML进行机器学习代码生成

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

Technical University of Munich(慕尼黑工业大学);TUM School of Computation, Information and Technology(慕尼黑工业大学计算、信息与技术学院);University of Applied Sciences Vorarlberg(福拉尔贝格应用科学大学);Zumtobel Lighting GmbH(祖姆托贝尔照明有限公司)

Simon Raedler, Matthias Rupp, Eugen Rigger, Stefanie Rinderle-Ma

AI总结:

本文提出一种结合SysML形式化机器学习任务与模型转换的方法,自动生成可执行代码,以降低数据驱动工程的实现难度,并通过天气预报案例验证其灵活性与可行性。

摘要:

数据驱动工程是指利用机器学习进行系统化数据收集与处理,以改进工程系统。目前,数据驱动工程的实现依赖于基础的数据科学和软件工程技能。与此同时,基于模型的工程在复杂系统工程中的重要性日益提升。在先前的工作中,提出了一种基于模型的工程方法,利用通用建模语言SysML对机器学习任务进行形式化。然而,形式化后的机器学习任务仍然需要在Python等专用编程语言中实现。因此,本研究旨在通过扩展先前对机器学习任务进行形式化的工作,集成模型转换以生成可执行代码,从而促进数据驱动工程在实践中的实现。该方法重点关注模型转换的可修改性和可维护性,使得对代码生成的扩展和更改可以在无需修改代码生成器的情况下集成。所提出的方法通过一个预测天气预报的案例研究进行了可行性评估。在此基础上,对模型转换的质量属性进行了评估和讨论。结果表明,该方法具有灵活性和简洁性,能够减少实现工作量。此外,本研究为在实践中标准化数据驱动工程的实现奠定了理论基础。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑