Machine Learning as an Analytics Service System
Key words: training, inference, latency, accuracy
1. Introduction
Approaches to integrating the machine learning techniques into database applications:
- preprocess the data off-line and add the predictions results into a new columnyin
- carry out the prediction on-line as user-defined functions (UDFs) in the SQL query
- better solution is to call the corresponding cloud machine learning service, e.g. APIs, disadvantage:
- the accuracy could be low since the models are trained by Amazon and Google with general data
- only a limited number of machine learning models are supported