arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.12415cs.DBcs.LGcs.SE
收藏

sql4ml用于机器学习的声明式端到端工作流

sql4ml A declarative end-to-end workflow for machine learning

Athens University of Economics and Business(雅典经济与商业大学);relationalAI(关系人工智能公司)

Nantia Makrynioti, Ruy Ley-Wild, Vasilis Vassalos

摘要:

我们介绍了sql4ml,这是一个用SQL表达监督式机器学习(ML)模型并在TensorFlow中自动训练它们的系统。这项工作的主要动机源于这样一种观察:在许多数据科学任务中,存储数据的关系数据库和机器学习框架之间存在来回的关系。数据预处理和特征工程通常发生在数据库中,而学习通常在单独的ML库中执行。这种碎片化的工作流程要求用户在不同的编程范式和软件系统之间切换。使用sql4ml,用户可以在SQL中表达特征工程和ML算法,而系统将此代码转换为适当的表示,以便在机器学习框架内进行训练。我们描述了我们的翻译方法,目前的实验结果,将其应用于三个著名的ML算法,并讨论了可用性的好处集中在数据库端的整个工作流程。

英文摘要:

We present sql4ml, a system for expressing supervised machine learning (ML) models in SQL and automatically training them in TensorFlow. The primary motivation for this work stems from the observation that in many data science tasks there is a back-and-forth between a relational database that stores the data and a machine learning framework. Data preprocessing and feature engineering typically happen in a database, whereas learning is usually executed in separate ML libraries. This fragmented workflow requires from the users to juggle between different programming paradigms and software systems. With sql4ml the user can express both feature engineering and ML algorithms in SQL, while the system translates this code to an appropriate representation for training inside a machine learning framework. We describe our translation method, present experimental results from applying it on three well-known ML algorithms and discuss the usability benefits from concentrating the entire workflow on the database side.

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

↑