SQL GROUP BY and HAVING Explained: WHERE vs HAVING
GROUP BY makes one row per group and HAVING filters the groups. Here is how WHERE and HAVING differ, in what order SQL runs, and the usual mistakes.
Read more →Notes on data engineering, AI and building things end to end.
GROUP BY makes one row per group and HAVING filters the groups. Here is how WHERE and HAVING differ, in what order SQL runs, and the usual mistakes.
Read more →
NULL means unknown, not zero. Here is why NULL comparisons fail, how NOT IN and aggregates behave, and how COALESCE and NULLIF help.
Read more →
A data catalog is a searchable inventory of your data, built on metadata. Here is what metadata is, what makes a catalog useful, and how to start small.
Read more →
Git records how every result was produced. Here are the few commands and habits data scientists need: small commits, branches, a good .gitignore and careful notebooks.
Read more →
Transfer learning starts from a model someone else trained and adapts it to your problem. Here is how feature extraction and fine-tuning differ, and when it helps.
Read more →
Preprocessing before splitting leaks test information into training. Here is how scikit-learn Pipeline and ColumnTransformer keep every step safe.
Read more →
A neural network is layers of weighted sums and nonlinear functions, trained by gradient descent. Here is how neurons, activations and backpropagation fit together.
Read more →
Gradient descent learns by stepping against the slope of the error. Here is the idea, a short code example, and how to choose the learning rate.
Read more →
Cohort analysis tracks groups of customers over time. Here is how a retention table works, a SQL query that builds one, and the mistakes that skew it.
Read more →
A model has to be wrapped in a service to be useful. Here is a minimal FastAPI pattern: validate input, load the model once, and monitor after launch.
Read more →