Abstract
This chapter explores various options for performing ML using a database system. Before we start, a valid question is why—at first glance, the relational model and query language seem to be a poor fit with ML, as most ML algorithms look very different from and oftentimes far more complicated than database queries. Thus, database systems have traditionally served as a data store for ML; the ML algorithm would pull the data out from the database, transform it into the appropriate format (e.g., matrices, tensors, or dataframes), and then analyze it using programs written in a different programming language. On the other hand, there are a number of compelling arguments for doing ML inside a database system.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Boehm, M., Kumar, A., Yang, J. (2019). ML Through Database Queries and UDFs. In: Data Management in Machine Learning Systems. Synthesis Lectures on Data Management. Springer, Cham. https://doi.org/10.1007/978-3-031-01869-5_2
Download citation
DOI: https://doi.org/10.1007/978-3-031-01869-5_2
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-00741-5
Online ISBN: 978-3-031-01869-5
eBook Packages: Synthesis Collection of Technology (R0)eBColl Synthesis Collection 8