Predictive Hacks

Anna Karenina Principle in Data Science

Anna Karenina novel begins with the quote:

All happy families are alike; each unhappy family is unhappy in its own way.

Leo Tolstoy

This is the Anna Karenina principle and personally, I have found it very suitable to describe the world of Data Science. Think about a Machine Learning pipeline:

  1. Data Ingestion and Preparation
  2. Model Training and Retraining
  3. Model Evaluation
  4. Deployment
How to accelerate DevOps with Machine Learning lifecycle management | by  Francesca Lazzeri | Microsoft Azure | Medium
Image by Microsoft Azure on Medium

When everything is OK and the model works as expected then we are talking about another typical “Happy Family” where all of them are alike. But what about when the model does not perform as expected? Then we are talking about an “Unhappy Family” and believe me that it is unhappy in its own way :). There are so many different reasons which can cause a model to fail. Just to mention some of them:

I am happy to learn about your unhappy families based on your experience

Share This Post

Share on facebook
Share on linkedin
Share on twitter
Share on email

Leave a Comment

Subscribe To Our Newsletter

Get updates and learn from the best

More To Explore


Image Captioning with HuggingFace

Image captioning with AI is a fascinating application of artificial intelligence (AI) that involves generating textual descriptions for images automatically.


Intro to Chatbots with HuggingFace

In this tutorial, we will show you how to use the Transformers library from HuggingFace to build chatbot pipelines. Let’s