Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Principles of Data Science

You're reading from   Principles of Data Science A beginner's guide to essential math and coding skills for data fluency and machine learning

Arrow left icon
Product type Paperback
Published in Jan 2024
Publisher Packt
ISBN-13 9781837636303
Length 326 pages
Edition 3rd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Sinan Ozdemir Sinan Ozdemir
Author Profile Icon Sinan Ozdemir
Sinan Ozdemir
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Chapter 1: Data Science Terminology 2. Chapter 2: Types of Data FREE CHAPTER 3. Chapter 3: The Five Steps of Data Science 4. Chapter 4: Basic Mathematics 5. Chapter 5: Impossible or Improbable – A Gentle Introduction to Probability 6. Chapter 6: Advanced Probability 7. Chapter 7: What Are the Chances? An Introduction to Statistics 8. Chapter 8: Advanced Statistics 9. Chapter 9: Communicating Data 10. Chapter 10: How to Tell if Your Toaster is Learning – Machine Learning Essentials 11. Chapter 11: Predictions Don’t Grow on Trees, or Do They? 12. Chapter 12: Introduction to Transfer Learning and Pre-Trained Models 13. Chapter 13: Mitigating Algorithmic Bias and Tackling Model and Data Drift 14. Chapter 14: AI Governance 15. Chapter 15: Navigating Real-World Data Science Case Studies in Action 16. Index 17. Other Books You May Enjoy

What this book covers

Chapter 1, Data Science Terminology, describes the basic terminology used by data scientists. We will cover the differences between often-confused terms as well as looking at examples of each term used in order to truly understand how to communicate in the language of data science. We will begin by looking at the broad term data science and then, little by little, get more specific until we arrive at the individual subdomains of data science, such as machine learning and statistical inference. This chapter will also look at the three main areas of data science, which are math, programming, and domain expertise. We will look at each one individually and understand the uses of each. We will also look at the basic Python packages and the syntax that will be used throughout the book.

Chapter 2, Types of Data, deals with data types and the way data is observed. We will explore the different levels of data as well as the different forms of data. Specifically, we will understand the differences between structured/unstructured data, quantitative/qualitative data, and more.

Chapter 3, The Five Steps of Data Science, deals with the data science process as well as data wrangling and preparation. We will go into the five steps of data science and give examples of the process at every step of the way. After we cover the five steps of data science, we will turn to data wrangling, which is the data exploration/preparation stage of the process. In order to best understand these principles, we will use extensive examples to explain each step. I will also provide tips to look for when exploring data, including looking for data on different scales, categorical variables, and missing data. We will use pandas to check for and fix all of these things.

Chapter 4, Basic Mathematics, goes over the elementary mathematical skills needed by any data scientist. We will dive into functional analysis and use matric algebra as well as calculus to show and prove various outcomes based on real-world data problems.

Chapter 5, Impossible or Improbable – A Gentle Introduction to Probability, focuses heavily on the basic probability that is required for data science. We will derive results from data using probability rules and begin to see how we view real-world problems using probability. This chapter will be highly practical and Python will be used to code the examples.

Chapter 6, Advanced Probability, is where we explore how to use Python to solve more complex probability problems and also look at a new type of probability called Bayesian inference. We will use these theorems to solve real-world data scenarios such as weather predictions.

Chapter 7, What Are the Chances? An Introduction to Statistics, is on basic statistics, which is required for data science. We will also explore the types of statistical errors, including type I and type II errors, using examples. These errors are as essential to our analysis as the actual results. Errors and their different types allow us to dig deeper into our conclusions and avoid potentially disastrous results. Python will be used to code up statistical problems and results.

Chapter 8, Advanced Statistics, is where normalization is key. Understanding why and how we normalize data will be crucial. We will cover basic plotting, such as scatter plots, bar plots, and histograms. This chapter will also get into statistical modeling using data. We will not only define the concept as using math to model a real-world situation, but we will also use real data in order to extrapolate our own statistical models. We will also discuss overfitting. Python will be used to code up statistical problems and results.

Chapter 9, Communicating Data, deals with the different ways of communicating results from our analysis. We will look at different presentation styles as well as different visualization techniques. The point of this chapter is to take our results and be able to explain them in a coherent, intelligible way so that anyone, whether they are data-savvy or not, may understand and use our results. Much of what we will discuss will be how to create effective graphs through labels, keys, colors, and more. We will also look at more advanced visualization techniques such as parallel coordinates plots.

Chapter 10, How to Tell if Your Toaster is Learning – Machine Learning Essentials, focuses on machine learning as a part of data science. We will define the different types of machine learning and see examples of each kind. We will specifically cover areas in regression, classification, and unsupervised learning. This chapter will cover what machine learning is and how it is used in data science. We will revisit the differences between machine learning and statistical modeling and how machine learning is a broader category of the latter. Our aim will be to utilize statistics and probability in order to understand and apply essential machine learning skills to practical industries such as marketing. Examples will include predicting star ratings of restaurant reviews, predicting the presence of disease, spam email detection, and much more. This chapter focuses more on statistical and probabilistic models. The next chapter will deal with models that do not fall into this category. We will also focus on metrics that tell us how accurate our models are. We will use metrics in order to conclude results and make predictions using machine learning.

Chapter 11, Predictions Don’t Grow on Trees, or Do They?, focuses heavily on machine learning that is not considered a statistical or probabilistic model. These constitute models that cannot be contained in a single equation, such as linear regression or naïve Bayes. The models in this chapter are, while still based on mathematical principles, more complex than a single equation. The models include KNN, decision trees, and an introduction to unsupervised clustering. Metrics will become very important here as they will form the basis for measuring our understanding and our models. We will also peer into some of the ethics of data science in this chapter. We will see where machine learning can perhaps boundaries in areas such as privacy and advertising and try to draw a conclusion about the ethics of predictions.

Chapter 12, Introduction to Transfer Learning and Pre-Trained Models, introduces transfer learning and gives examples of how to transfer a machine’s learning from a pre-trained model to fine-tuned models. We will navigate the world of open source models and achieve state-of-the-art performance in NLP and vision tasks.

Chapter 13, Mitigating Algorithmic Bias and Tackling Model and Data Drift, introduces algorithmic bias and how to quantify, identify, and mitigate biases in data and models. We will see how biased data can lead to biased models. We will also see how we can identify bias as early as possible and catch new biases that arise in existing models.

Chapter 14, AI Governance, introduces drift in models and data and the proper ways to quantify and combat drift. We will see how data can drift over time and how we can update models properly to combat draft to keep our pipelines as performant as possible.

Chapter 15, Navigating Real-World Data Science Case Studies in Action, introduces basic governance structures and how to navigate deletion requests, privacy/permission structures, and data provenance.

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 €18.99/month. Cancel anytime