The Machine Learning “Advent Calendar” Bonus 2: Gradient Descent Variants in Excel
Gradient Descent, Momentum, RMSProp, and Adam all aim for the same minimum. They do not change the destination, only the path. Each method adds a mechanism that fixes a limitation of the previous one, making the movement faster, more stable, or more adaptive. The goal stays the same. The update beco...
Overcoming Nonsmoothness and Control Chattering in Nonconvex Optimal Control Problems
With some hints for good numerics
The post Overcoming Nonsmoothness and Control Chattering in Nonconvex Optimal Control Problems appeared first on Towards Data Science.
How to ensure your coding agent has the same context as you
The post How to Facilitate Effective AI Programming appeared first on Towards Data Science.
Machine Learning vs AI Engineer: What Are the Differences?
One of the most confusing questions in tech right now is: What is the difference between an AI engineer and a machine learning engineer? Both are six-figure jobs, but if you choose the wrong one, you could waste months of your career learning the wrong skills and miss out on quality roles. As a prac...
Breaking the Hardware Barrier: Software FP8 for Older GPUs
Deep learning workloads are increasingly memory-bound, with GPU cores sitting idle while waiting for data transfers. FP8 precision solves this on newer hardware, but what about the millions of RTX 30 and 20 series GPUs already deployed? Feather demonstrates that software-based FP8 emulation through ...
Hugging Face Transformers in Action: Learning How To Leverage AI for NLP
A practical guide to Hugging Face Transformers and to how you can analyze your resumé sentiment in seconds with AI
The post Hugging Face Transformers in Action: Learning How To Leverage AI for NLP appeared first on Towards Data Science.
Think Your Python Code Is Slow? Stop Guessing and Start Measuring
A hands-on tour of using cProfile + SnakeViz to find (and fix) the "hot" paths in your code.
The post Think Your Python Code Is Slow? Stop Guessing and Start Measuring appeared first on Towards Data Science.
How to Build an AI-Powered Weather ETL Pipeline with Databricks and GPT-4o: From API To Dashboard
A step-by-step guide from weather API ETL to dashboard on Databricks
The post How to Build an AI-Powered Weather ETL Pipeline with Databricks and GPT-4o: From API To Dashboard appeared first on Towards Data Science.
Why MAP and MRR Fail for Search Ranking (and What to Use Instead)
MAP and MRR look intuitive, but they quietly break ranking evaluation. Here’s why these metrics mislead—and how better alternatives fix it.
The post Why MAP and MRR Fail for Search Ranking (and What to Use Instead) appeared first on Towards Data Science.
Bonferroni vs. Benjamini-Hochberg: Choosing Your P-Value Correction
Multiple hypothesis testing, P-values, and Monte Carlo
The post Bonferroni vs. Benjamini-Hochberg: Choosing Your P-Value Correction appeared first on Towards Data Science.
The Machine Learning “Advent Calendar” Day 21: Gradient Boosted Decision Tree Regressor in Excel
Gradient descent in function space with decision trees
The post The Machine Learning “Advent Calendar” Day 21: Gradient Boosted Decision Tree Regressor in Excel appeared first on Towards Data Science.
The Machine Learning “Advent Calendar” Day 20: Gradient Boosted Linear Regression in Excel
From Random Ensembles to Optimization: Gradient Boosting Explained
The post The Machine Learning “Advent Calendar” Day 20: Gradient Boosted Linear Regression in Excel appeared first on Towards Data Science.
The Geometry of Laziness: What Angles Reveal About AI Hallucinations
A story about failing forward, spheres you can’t visualize, and why sometimes the math knows things before we do
The post The Geometry of Laziness: What Angles Reveal About AI Hallucinations appeared first on Towards Data Science.
The Machine Learning “Advent Calendar” Day 19: Bagging in Excel
Understanding ensemble learning from first principles in Excel
The post The Machine Learning “Advent Calendar” Day 19: Bagging in Excel appeared first on Towards Data Science....
How I Optimized My Leaf Raking Strategy Using Linear Programming
From a weekend chore to a fun application of valuable operations research principles
The post How I Optimized My Leaf Raking Strategy Using Linear Programming appeared first on Towards Data Science....
The Machine Learning “Advent Calendar” Day 18: Neural Network Classifier in Excel
Understanding forward propagation and backpropagation through explicit formulas
The post The Machine Learning “Advent Calendar” Day 18: Neural Network Classifier in Excel appeared first on Towards Data Science....
The Subset Sum Problem Solved in Linear Time for Dense Enough Inputs
An optimal solution to the well-known NP-complete problem, when the input values are close enough to each other.
The post The Subset Sum Problem Solved in Linear Time for Dense Enough Inputs appeared first on Towards Data Science....
Generating Artwork in Python Inspired by Hirst’s Million-Dollar Spots Painting
Using Python to generate art
The post Generating Artwork in Python Inspired by Hirst’s Million-Dollar Spots Painting appeared first on Towards Data Science....
When indexing hurts more than it helps: how we realized our RAG use case needed a key-value store, not a vector database
The post When (Not) to Use Vector DB appeared first on Towards Data Science....
The Machine Learning “Advent Calendar” Day 14: Softmax Regression in Excel
Softmax Regression is simply Logistic Regression extended to multiple classes.
By computing one linear score per class and normalizing them with Softmax, we obtain multiclass probabilities without changing the core logic.
The loss, the gradients, and the optimization remain the same.
Only the number...
The Skills That Bridge Technical Work and Business Impact
In the Author Spotlight series, TDS Editors chat with members of our community about their career path in data science and AI, their writing, and their sources of inspiration. Today, we’re thrilled to share our conversation with Maria Mouschoutzi. Maria is a Data Analyst and Project Manager with a ...