28,79 €
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.
Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:
Seitenzahl: 458
Veröffentlichungsjahr: 2024
Principles of Data Science
A beginner’s guide to essential math and coding skills for data fluency and machine learning
Sinan Ozdemir
Copyright © 2024 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
Group Product Manager: Ali Abidi
Publishing Product Manager: Tejashwini R
Book Project Manager: Farheen Fathima
Content Development Editor: Priyanka Soam
Technical Editor: Kavyashree K S
Copy Editor: Safis Editing
Proofreader: Safis Editing
Indexer: Manju Arasan
Production Designer: Alishon Mendonca
DevRel Marketing Coordinator: Vinishka Kalra
First published: December 2016
Second edition: December 2018
Third edition: Jan 2024
Production reference: 1120124
Published by Packt Publishing Ltd.
Grosvenor House
11 St Paul’s Square
Birmingham
B3 1RB, UK
ISBN 978-1-83763-630-3
www.packtpub.com
I have dedicated many books to many loved ones in the past, and for this edition, I want to dedicate this work to the people of Packt Publishing, who not only gave me my first chance at writing a book when I was early in my career but have stuck by me and continued to release editions with me since.
Thank you to everyone at Packt Publishing for all of your hard work, patience, and dedication to my work!
– Sinan Ozdemir
Sinan Ozdemir is an active lecturer on large language models and a former lecturer of data science at Johns Hopkins University. He is the author of multiple textbooks on data science and machine learning, including Quick Start Guide to LLMs. Sinan is currently the founder of LoopGenius, which uses AI to help people and businesses boost their sales, and was previously the founder of the acquired Kylie.ai, an enterprise-grade conversational AI platform with RPA capabilities. He holds a master’s degree in pure mathematics from Johns Hopkins University and is based in San Francisco.
Jigyasa Grover, a 10-time award winner in AI and open source and the co-author of the book Sculpting Data for ML, is a powerhouse brimming with passion to make a dent in this world of technology and bridge the gaps. With years of machine learning engineering and data science experience in deploying large‐scale systems for monetization on social networking and e‐commerce platforms, she primarily focuses on ad prediction, sponsored content ranking, and recommendation. She is an avid proponent of open source and credits her access to opportunities and career growth to this sphere of community development. In her spirit to build a powerful community with a strong belief in the axiom, “We rise by lifting others,” she actively mentors developers and machine learning enthusiasts.
For our first step into the world of data science, let’s take a look at the various ways in which data can be formed. In this chapter, we will explore three critical categorizations of data:
Structured versus unstructured dataQuantitative versus qualitative dataThe four levels of dataWe will dive further into each of these topics by showing examples of how data scientists look at and work with data. This chapter aims to familiarize us with the fundamental types of data so that when we eventually see our first dataset, we will know exactly how to dissect, diagnose, and analyze the contents to maximize our insight value and machine learning performance.
The first thing to note is my use of the word data. In the previous chapter, I defined data as merely a collection of information. This vague definition exists because we may separate data into different categories and need our definition to be loose.
The next thing to remember while we go through this chapter is that for the most part, when I talk about the type of data, I will refer to either a specific characteristic (column/feature) of a dataset or the entire dataset as a whole. I will be very clear about which one I refer to at any given time.
At first thought, it might seem worthless to stop and think about what type of data we have before getting into the fun stuff, such as statistics and machine learning, but this is arguably one of the most important steps you need to take to perform data science.
When given a new dataset to analyze, it is tempting to jump right into exploring, applying statistical models, and researching the applications of machine learning to get results as soon as possible. However, if you don’t understand the type of data that you are working with, then you might waste a lot of time applying models that are known to be ineffective with that specific type of data.
The first question we want to ask ourselves about an entire dataset is whether we are working with structured or unstructured data. The answer to this question can mean the difference between needing three days or three weeks to perform a proper analysis.
The basic breakdown is as follows (this is a rehashed definition of organized and unorganized data from Chapter 1):
Structured (that is, organized) data: This is data that can be thought of as observations and characteristics. It is usually organized using a table method (rows and columns) that can be organized in a spreadsheet format or a relational database.Unstructured (that is, unorganized) data: This data exists as a free entity and does not follow any standard organization hierarchy such as images, text, or videos.Here are a few examples that could help you differentiate betweenthe two:
Most data that exists in text form, including server logs and Facebook posts, is unstructuredScientific observations, as recorded by scientists, are kept in a very neat and organized (structured) formatA genetic sequence of chemical nucleotides (for example, ACGTATTGCA) is unstructured, even if the order of the nucleotides matters, as we cannot form descriptors of the sequence using a row/column format without taking a further lookStructured data is generally thought of as being much easier to work with and analyze. Most statistical and machine learning models were built with structured data in mind and cannot work on the loose interpretation of unstructured data. The natural row and column structure is easy to digest for human and machine eyes. So, why even talk about