Stochastic gradient descent written in SQL

Table of contentsIntroductionSome dataRunning averageRunning covarianceHandling many variablesOnline gradient descentConclusionEdit: this post generated a few insightful comments on Hacker News. I’ve also put the code in a notebook for ease of use.IntroductionModern MLOps is complex because it involves too many components. You need a message bus, a stream processing engine, an API, a model store,…