Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Building Data Science Solutions with Anaconda

You're reading from  Building Data Science Solutions with Anaconda

Product type Book
Published in May 2022
Publisher Packt
ISBN-13 9781800568785
Pages 330 pages
Edition 1st Edition
Languages
Author (1):
Dan Meador Dan Meador
Profile icon Dan Meador

Table of Contents (16) Chapters

Preface Part 1: The Data Science Landscape – Open Source to the Rescue
Chapter 1: Understanding the AI/ML landscape Chapter 2: Analyzing Open Source Software Chapter 3: Using the Anaconda Distribution to Manage Packages Chapter 4: Working with Jupyter Notebooks and NumPy Part 2: Data Is the New Oil, Models Are the New Refineries
Chapter 5: Cleaning and Visualizing Data Chapter 6: Overcoming Bias in AI/ML Chapter 7: Choosing the Best AI Algorithm Chapter 8: Dealing with Common Data Problems Part 3: Practical Examples and Applications
Chapter 9: Building a Regression Model with scikit-learn Chapter 10: Explainable AI - Using LIME and SHAP Chapter 11: Tuning Hyperparameters and Versioning Your Model Other Books You May Enjoy

Overcoming sample bias

Sample bias is when the choice of data doesn't reflect what is present in the real world. This is also referred to as selection bias. As with many types of bias, this can be completely harmless or very impactful, depending on the application.

In the following diagram, you can see a visual representation of what this looks like. There is hypothetical real-world data on the left that would be helpful (represented as Input z), but for one reason or another, it did not make it into the data that is included in the training dataset:

Figure 6.2 – Sample bias

When we leave this valuable data out, it is detrimental to everyone involved. The previous diagram is more abstract, so let's look at some more concrete examples of what sample bias could look like.

Examples of sample bias

The following items are examples of where sample bias could exist. Of course, this isn't close to an exhaustive list but helps to give...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}