Stop

Stop Tuning Hyperparameters. Start Tuning Your Problem.

. You’re three weeks right into a churn prediction model, hunched over a laptop, watching a Bayesian optimization sweep crawl through its 2 hundredth trial. The validation AUC ticks from 0.847 to 0.849. You...

Why You Should Stop Writing Loops in Pandas 

: after I first began using Pandas, I wrote loops like this on a regular basis: for i in range(len(df)): if df.loc > 1000: df.loc = "high" else: df.loc = "low" It worked. And I assumed, Seems… not a lot. I...

Stop Asking if a Model Is Interpretable

about interpretability in AI start with the fallacious query. Researchers, practitioners, and even regulators often ask whether a model . But this framing assumes interpretability is a property a model either possesses or...

The Rule Everyone Misses: The right way to Stop Confusing loc and iloc in Pandas

with pandas, you’ve probably discovered this classic confusion: must you use loc or iloc to extract data? At first glance, they appear almost an identical. Each are used to slice, filter, and retrieve rows or columns from...

From Transactions to Trends: Predict When a Customer Is About to Stop Buying

how math can solve so many problems in the actual world. Once I was in grade school, I definitely didn't see it that way. I never hated math, by the way in which,...

Stop Writing Messy Boolean Masks: 10 Elegant Ways to Filter Pandas DataFrames

, I discussed the way to create your first DataFrame using Pandas. I discussed that the very first thing it's essential master is Data structures and arrays before moving on to data evaluation with...

Stop Blaming the Data: A Higher Method to Handle Covariance Shift

Despite tabular data being the bread and butter of industry data science, data shifts are sometimes missed when analyzing model performance. We’ve all been there: You develop a machine learning model, achieve great results in...

Think Your Python Code Is Slow? Stop Guessing and Start Measuring

I used to be working on a script the opposite day, and it was driving me nuts. It worked, sure, however it was just… slow. Really slow. I had that feeling that this...

Recent posts

Popular categories

ASK ANA