Mindsdb – Moving AutoML Closer to DB

mindsdb automl in database

Image by Noupload from Pixabay


Two trends rose in acceptance in 2020:

  1. Knowledge Transfer, i.e., nobody trains neural networks from scratch, and
  2. AutoML, i.e., all traditional models tried with hyperparameter tuning at once, and the most successful model automatically chosen for further use.

This article is about the second one.

The Year 2000

MS SQL Server 2000 appeared. One of the added components: SQL Analysis Services. One of its parts: Data Mining tools. An ancient term for Machine Learning. In general, many ML algorithms and fully-connected Neural Networks are operating over data found in the DB. Cool things:

  1. You didn’t have to export the data to train a model with them
  2. Traces of semi-automatic feature engineering
  3. Models are retrained in a scheduled manner
  4. Models lived within the DB
  5. Models are asked for inference via SQL-like queries, with commands added to the TSQL.

Data Mining Tutorials (Analysis Services) | Microsoft Docs

Data Mining Tutorial (mssqltips.com)

(6) Introduction to Data Mining in SQL Server Analysis Services – YouTube

Introduction to SQL Server Data Mining (sqlshack.com)

One important note: no progress here since the very beginning. They are today as they were 21 years ago. Not that good sign for them, even they looked promissing they.

The year 2020

Mindsb: The next step. Cool things:

  1. Everything just said about MS SQL Server 2000, in the text above,
  2. Any major DB supported,
  3. Automated feature selection and engineering
  4. The model selected with hyperparameters fine-tuned via the AutoML approach.

I had a video meeting with the guys who made it. They executed a few real-live inferences, which looked really cool. If I need something similar, I will use this for sure.

MindsDB – Machine Learning in your database

mindsdb/mindsdb: Predictive AI layer for existing databases. (github.com)

(6) Code Example: Using MindsDB for Machine Learning – YouTube

What happened similarly in-between: I haven’t found any traces.


Midnsdb is opensource and free.


No comment

Leave a Reply

Your email address will not be published. Required fields are marked *