In-Database Analytics with Python and MonetDB
summary
Shows how MonetDB embedded Python UDFs can run scikit-learn workflows inside the database to avoid large client transfers and enable mappable parallel operations on columns. Demonstrates with a 100M-row generator and a real dataset (reduced from 120M transactions to 43k retailers with ~150 features), training a RandomForest whose pickled model is stored in-table and used for prediction. Reports results including a 3.5× speedup for a median UDF (4s → ~1s), modest accuracy with low sensitivity, and fragile debugging tooling.
AI-written summary · about
