data science

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...

Why Is My Code So Slow? A Guide to Py-Spy Python Profiling

frustrating issues to debug in data science code aren’t syntax errors or logical mistakes. Quite, they arrive from code that does exactly what it's presupposed to do, but takes its sweet time doing...

AWS vs. Azure: A Deep Dive into Model Training – Part 2

In Part 1 of this series, how Azure and AWS take fundamentally different approaches to machine learning project management and data storage. Azure ML uses a workspace-centric structure with user-level role-based access control (RBAC),...

The Proximity of the Inception Rating as an Evaluation Criterion

Introduction Lately, Generative Adversarial Networks (GANs) have achieved remarkable ends in automatic image synthesis. Nonetheless, objectively evaluating the standard of the generated data stays an open challenge. Unlike discriminative models, for which established metrics exist,...

Constructing Systems That Survive Real Life

You hold a Master’s in Physics and Astrophysics. How does your background play into your work in data science and AI engineering?  Physics taught me two things that I lean on on a regular basis:...

Randomization Works in Experiments, Even Without Balance

of treatments in experiments has the amazing tendency to balance out confounders and other covariates across testing groups. This tendency provides a variety of favorable features for analyzing the outcomes of experiments and...

I Ditched My Mouse: How I Control My Computer With Hand Gestures (In 60 Lines of Python)

of autonomous vehicles and AI language models, yet the predominant physical interface through which we connect with machines has remained unchanged for 50 years. Astonishingly, we're still using the pc mouse, a tool...

Federated Learning, Part 2: Implementation with the Flower Framework 🌼

within the federated learning series I'm doing, and should you just landed here, I might recommend going through the primary part where we discussed how federated learning works at a high level. For...

Recent posts

Popular categories

ASK ANA