Book Image

Principles of Data Science - Third Edition

By : Sinan Ozdemir
Book Image

Principles of Data Science - Third Edition

By: Sinan Ozdemir

Overview of this book

Principles of Data Science bridges mathematics, programming, and business analysis, empowering you to confidently pose and address complex data questions and construct effective machine learning pipelines. This book will equip you with the tools to transform abstract concepts and raw statistics into actionable insights. Starting with cleaning and preparation, you’ll explore effective data mining strategies and techniques before moving on to building a holistic picture of how every piece of the data science puzzle fits together. Throughout the book, you’ll discover statistical models with which you can control and navigate even the densest or the sparsest of datasets and learn how to create powerful visualizations that communicate the stories hidden in your data. With a focus on application, this edition covers advanced transfer learning and pre-trained models for NLP and vision tasks. You’ll get to grips with advanced techniques for mitigating algorithmic bias in data as well as models and addressing model and data drift. Finally, you’ll explore medium-level data governance, including data provenance, privacy, and deletion request handling. By the end of this data science book, you'll have learned the fundamentals of computational mathematics and statistics, all while navigating the intricacies of modern ML and large pre-trained models like GPT and BERT.
Table of Contents (18 chapters)

Mitigating drift

The world of ML is ever-evolving, making it crucial for us to remain adaptable. We’ve seen how the concept of drift is integral to understanding changes in our data or model over time. But what can we do when faced with these shifting sands? Are we merely left to witness the disintegration of our model’s performance? Not quite. This section presents actionable strategies for mitigating drift, each one holding its unique place in our toolbox for effective drift management.

Understanding the context

Before we delve into the technicalities of mitigating drift, let’s acknowledge the necessity of understanding the context in which our model operates. Just as a ship captain needs to understand the sea and the weather conditions, we need to comprehend our data sources, user behavior, environmental changes, and all other nuances that form the backdrop against which our model functions.

Consider an e-commerce recommendation system. Understanding...