#Python

Collection of 3 technical entries associated with this specific classification.

The Astro logo on a dark background with a pink glow.
Article
7 min read

Beyond Tradition: Harnessing Machine Learning for Demand Forecasting

What happens when traditional time series models aren't enough? In Part 3 of our MLOps series, we unlock the power of Machine Learning for demand forecasting by incorporating promotions, holidays, and product categories. Sometimes, context is everything..

Time series laptop.
Article
7 min read

Our First Forecast: Traditional Time Series Models on Your Laptop

Before we summon the cloud giants, we must master the basics. In Part 2 of our MLOps for Time Series series, we get our hands dirty with code, building our first demand forecast using classic models like ARIMA right on our laptops. Every robust ML system starts with a simple, reproducible baseline.

The Astro logo on a dark background with a pink glow.
Article
6 min read

A Step-by-Step Walkthrough: Implementing PSM in Python

You understand the theory of PSM. Now, let's build it. In this step-by-step tutorial, I generate a synthetic financial dataset and walk through the entire process: ✅ Simulating confounding variables ✅ Estimating propensity scores ✅ Matching treated & control units ✅ The CRITICAL balance check (don't skip this!) ✅ Calculating the causal effect on churn