{"@attributes":{"version":"2.0"},"channel":{"title":"Machine Learning on Code by Night Learning to Program Journey Log","link":"https:\/\/codebynight.dev\/categories\/machine-learning\/","description":"Recent content in Machine Learning on Code by Night Learning to Program Journey Log","image":{"title":"Code by Night Learning to Program Journey Log","url":"https:\/\/codebynight.dev\/images\/preview.png","link":"https:\/\/codebynight.dev\/images\/preview.png"},"generator":"Hugo","language":"en-us","lastBuildDate":"Mon, 20 Jul 2026 00:00:00 +0000","item":[{"title":"Why Data Scientists Keep Saying Not To Use Prophet","link":"https:\/\/codebynight.dev\/posts\/why-data-scientists-are-skeptical-of-prophet-forecasts\/","pubDate":"Mon, 20 Jul 2026 00:00:00 +0000","guid":"https:\/\/codebynight.dev\/posts\/why-data-scientists-are-skeptical-of-prophet-forecasts\/","description":"I tested Prophet against seasonal naive and ETS on two monthly series to see why a clean forecast chart is not enough to trust the model."},{"title":"Churn Prediction Is Easy. Reducing E-Commerce Churn Is Hard.","link":"https:\/\/codebynight.dev\/posts\/churn-prediction-reducing-ecommerce-churn\/","pubDate":"Sun, 12 Jul 2026 00:00:00 +0000","guid":"https:\/\/codebynight.dev\/posts\/churn-prediction-reducing-ecommerce-churn\/","description":"How to reduce e-commerce churn after building a churn prediction model. A quick and raw look at retention workflows, customer context, discounts, and what happens after the churn score."},{"title":"ARIMA Is Boring, and That Is Why I Still Like It","link":"https:\/\/codebynight.dev\/posts\/arima-is-boring-and-that-is-why-i-still-like-it\/","pubDate":"Sat, 11 Jul 2026 00:00:00 +0000","guid":"https:\/\/codebynight.dev\/posts\/arima-is-boring-and-that-is-why-i-still-like-it\/","description":"ARIMA is old, limited, and a little annoying. I still like it because it makes the assumptions and uncertainty in a forecast harder to ignore."},{"title":"Churn Is Not a Data Science Problem","link":"https:\/\/codebynight.dev\/posts\/churn-is-not-a-data-science-problem\/","pubDate":"Sun, 21 Jun 2026 00:00:00 +0000","guid":"https:\/\/codebynight.dev\/posts\/churn-is-not-a-data-science-problem\/","description":"Churn prediction looks like a clean data science problem, but useful retention work needs systems, ownership, context, and feedback loops."},{"title":"My Machine Learning master\u2019s degree made AI feel less magical, and the hype harder to trust","link":"https:\/\/codebynight.dev\/posts\/ml-masters-made-ai-less-magical-hype-harder-to-trust\/","pubDate":"Wed, 17 Jun 2026 00:00:00 +0000","guid":"https:\/\/codebynight.dev\/posts\/ml-masters-made-ai-less-magical-hype-harder-to-trust\/","description":"After finishing my data science and machine learning master\u2019s, I feel more confident with AI, but also less willing to accept the vague hype still flowing around."},{"title":"You Can\u2019t Lead in AI If You Don\u2019t Understand the Math","link":"https:\/\/codebynight.dev\/posts\/you-cant-lead-in-ai-if-you-dont-understand-the-math\/","pubDate":"Wed, 22 Oct 2025 00:00:00 +0000","guid":"https:\/\/codebynight.dev\/posts\/you-cant-lead-in-ai-if-you-dont-understand-the-math\/","description":"The more abstracted AI becomes, the more valuable it is to understand what\u2019s behind the abstraction. A personal note on why I\u2019m going back to the math behind machine learning."},{"title":"From Copy\u2011Paste to First Principles of Machine Learning","link":"https:\/\/codebynight.dev\/posts\/from-copy-paste-to-first-principles-of-machine-learning\/","pubDate":"Sat, 06 Sep 2025 00:00:00 +0000","guid":"https:\/\/codebynight.dev\/posts\/from-copy-paste-to-first-principles-of-machine-learning\/","description":"Why I\u2019m resisting the urge to copy\u2011paste ML, relearning the math behind algorithms, and building from scratch to bridge marketing and machine learning."},{"title":"K-Means vs K-Means++: Smarter Centroids, Better Clusters","link":"https:\/\/codebynight.dev\/posts\/kmeans-vs-kmeans++-better-centroid-initialization\/","pubDate":"Mon, 30 Jun 2025 00:00:00 +0000","guid":"https:\/\/codebynight.dev\/posts\/kmeans-vs-kmeans++-better-centroid-initialization\/","description":"K-Means++ improves K-Means by choosing better initial centroids using a distance-aware probability distribution. A couple of thoughts on it as I read through this again today."},{"title":"ARIMA vs. SARIMA: Differences and When to Use Each for Forecasting","link":"https:\/\/codebynight.dev\/posts\/arima-vs-sarima-practical-guide-to-choosing-the-right-model-for-time-series-analysis\/","pubDate":"Thu, 19 Jun 2025 00:00:00 +0000","guid":"https:\/\/codebynight.dev\/posts\/arima-vs-sarima-practical-guide-to-choosing-the-right-model-for-time-series-analysis\/","description":"ARIMA vs SARIMA explained: the key difference is seasonality. See when to use each model, how their parameters differ, and how to validate your choice."},{"title":"Full Code Walkthrough - Reducing Churn in E-Commerce with Predictive Modelling","link":"https:\/\/codebynight.dev\/posts\/full-code-walkthrough-reducing-churn-in-ecommerce-predictive-modelling\/","pubDate":"Wed, 18 Jun 2025 00:00:00 +0000","guid":"https:\/\/codebynight.dev\/posts\/full-code-walkthrough-reducing-churn-in-ecommerce-predictive-modelling\/","description":"A detailed, step-by-step explanation of the code from my churn prediction project - covering data cleaning, feature engineering, SMOTE, Random Forest model, and lessons from end-to-end implementation."},{"title":"A Primer to Framing Business Problems for Machine Learning","link":"https:\/\/codebynight.dev\/posts\/primer-to-framing-business-problems-for-machine-learning\/","pubDate":"Tue, 17 Jun 2025 00:00:00 +0000","guid":"https:\/\/codebynight.dev\/posts\/primer-to-framing-business-problems-for-machine-learning\/","description":"Here is how to frame vague business goals into clear machine learning problems using classification, regression, and ranking lenses to make real-world impact."},{"title":"Why ARIMA and SARIMA Still Matter: A Technical Guide to Time Series Forecasting","link":"https:\/\/codebynight.dev\/posts\/why-time-series-deserves-comeback-forecasting-with-arima-sarima\/","pubDate":"Mon, 16 Jun 2025 00:00:00 +0000","guid":"https:\/\/codebynight.dev\/posts\/why-time-series-deserves-comeback-forecasting-with-arima-sarima\/","description":"Despite the hype around deep learning, classical time series models like ARIMA and SARIMA are essential tools for reliable forecasting. Let&#39;s take you through their core concepts, practical use, and a hands-on example with wine sales data."},{"title":"22 Lessons from 1 year in Data Science and Machine Learning","link":"https:\/\/codebynight.dev\/posts\/lessons-from-1-year-data-science-and-machine-learning-journey\/","pubDate":"Wed, 28 May 2025 00:00:00 +0000","guid":"https:\/\/codebynight.dev\/posts\/lessons-from-1-year-data-science-and-machine-learning-journey\/","description":"I started data science in 2024, and now 1 year in of masters in DS, building personal projects as well as applying what I learnt into projects for my job I feel there are tons of lessons I can share. These are mainly honest, practical lessons you\u2019ll only learn by doing."},{"title":"Reducing Churn in E-Commerce: My End-to-End Capstone Project in Predictive Modeling","link":"https:\/\/codebynight.dev\/posts\/churn-analysis-capstone-ecommerce-customer-retention\/","pubDate":"Tue, 27 May 2025 00:00:00 +0000","guid":"https:\/\/codebynight.dev\/posts\/churn-analysis-capstone-ecommerce-customer-retention\/","description":"An in-depth walkthrough of my churn analysis capstone project: from data exploration and clustering to actionable insights for customer retention in a competitive e-commerce landscape."},{"title":"Day 5\u20138: Fine-Tuning AI Models, Learning MLOps, and Structuring My Year of Projects","link":"https:\/\/codebynight.dev\/posts\/day-5-to-8-mlops-fine-tuning-project-plans\/","pubDate":"Wed, 21 May 2025 00:00:00 +0000","guid":"https:\/\/codebynight.dev\/posts\/day-5-to-8-mlops-fine-tuning-project-plans\/","description":"A learning log covering project planning for AI\/ML, Go language practice, deep learning theory, MLflow basics, and fine-tuning open-source LLMs across Day 5 to Day 8."},{"title":"Day 4 of Learning: Switching Between Golang and Deep Learning","link":"https:\/\/codebynight.dev\/posts\/day-4-of-learning-switching-between-golang-and-deep-learning\/","pubDate":"Fri, 16 May 2025 00:00:00 +0000","guid":"https:\/\/codebynight.dev\/posts\/day-4-of-learning-switching-between-golang-and-deep-learning\/","description":"Learning Golang structs and pointers while returning to deep learning with PyTorch and prepping for my second year of masters in data science &amp; ML."}]}}