SlideShare a Scribd company logo
9/18/21, 3:01 PM 1. Introduction to Data Science — MA346 Course Notes
https://nathancarter.github.io/MA346-course-notes/_build/html/chapter-1-intro-to-data-science.html 1/4
1. Introduction to Data Science
See also the slides that summarize a portion of this content.
1.1. What is data science?
The term “data science” was coined in 2001, attempting to describe a new field. Some argue that it’s nothing
more than the natural evolution of statistics, and shouldn’t be called a new field at all. But others argue that it’s
more interdisciplinary. For example, in The Data Science Design Manual (2017), Steven Skiena says the following.
I think of data science as lying at the intersection of computer science, statistics, and substantive
application domains. From computer science comes machine learning and high-performance
computing technologies for dealing with scale. From statistics comes a long tradition of exploratory
data analysis, significance testing, and visualization. From application domains in business and the
sciences comes challenges worthy of battle, and evaluation standards to assess when they have been
adequately conquered.
This echoes a famous blog post by Drew Conway in 2013, called The Data Science Venn Diagram, in which he
drew the following diagram to indicate the various fields that come together to form what we call “data science.”
Regardless of whether data science is just a part of statistics, and regardless of the domain to which we’re
applying data science, the goal is the same: to turn data into actionable value. The professional society
INFORMS defines the related field of analytics as “the scientific process of transforming data into insight for
making better decisions.”
1.2. What do data scientists do?
Turning data into actionable value usually involves answering questions using data. Here’s a typical workflow for
how that plays out in practice.
1. Obtain data that you hope will help answer the question.
2. Explore the data to understand it.
3. Clean and prepare the data for analysis.
4. Perform analysis, model building, testing, etc.
(The analysis is the step most people think of as data science, but it’s just one step! Notice how much more
there is that surrounds it.)
5. Draw conclusions from your work.
 Contents

1.1. What is data science?
1.2. What do data scientists do?
1.3. What’s in our course?
1.4. Will this course make me a data
scientist?
1.4.1. Learning on your own (LOYO)
1.4.2. Excellent communication
1.5. Where should I start?
9/18/21, 3:01 PM 1. Introduction to Data Science — MA346 Course Notes
https://nathancarter.github.io/MA346-course-notes/_build/html/chapter-1-intro-to-data-science.html 2/4
y
6. Report those conclusions to the relevant stakeholders.
Our course focuses on all the steps except for the analysis. You’ve learned some introductory statistical analysis in
one of the course prerequisites (GB213), and we will leverage that. (Later in our course we will review simple
linear regression and hypothesis testing.) If you have taken other relevant courses in statistics, mathematical
modeling, econometrics, etc., and want to bring that knowledge in to use in this course, great, but it’s not a
requirement. Other advanced statistics and modeling courses you take later will essentially plug into step 4 in
this data science workflow.
1.3. What’s in our course?
Our course covers the following four foundational aspects of data science.
Mathematics: We will cover foundational mathematical concepts, such as functions, relations,
assumptions, conclusions, and abstraction, so that we can use these concepts to define and understand
many aspects of data manipulation. We will also make use of statistics from GB213 (and optionally other
statistics courses you may have taken) in course projects, and we will briefly review that statistical material
as well. We will also see small previews of other mathematics and statistics courses and their connections
to data science, including graphs for social network analysis, matrices for finding themes in relations, and
supervised machine learning.
Technology: We will extend your Python knowledge from the CS230 prerequisite with more advanced
table manipulation functions, extended practice with data cleaning and manipulation tasks, computational
notebooks (such as Jupyter), and GitHub for version control and project publishing.
Visualization: We will learn new types of plots for a wide variety of data types and what you intend to
communicate about them. We will also study the general principles that govern when and how to use
visualizations and will learn how to build and publish interactive online visualizations (dashboards).
Communication: We will study how to write comments in code, documentation for code, motivations in
computational notebooks, interpretation of results in computational notebooks, and technical reports
about the results of analyses. We will prioritize clarity, brevity, and knowing the target audience. Many of
these same principles will arise when creating presentations or videos as well. Each of these modes of
communication is required at some point in our course.
Details about specific topics and their order appears in the Detailed Course Schedule appendix.
1.4. Will this course make me a data scientist?
This course is an introduction to data science. Learning more math, stats, and technology will make you more
qualified than just this one course can. (Bentley University has both a Data Analytics major and a Data
Technologies minor, if you’re curious which courses are relevant.)
But there are two focuses of our course that will make a big difference:
1.4.1. Learning on your own (LOYO)
Thus our course requires you to do so. Once during the course you must research a topic outside of class and
report on it to the class, through writing, presenting, video, or whatever modality makes sense for the content. To
help you choose a topic, I’ve marked many possible topics throughout these course notes, in red boxes entitled
“Learning on Your Own.” The first such boxes appear below, in this chapter, but you’ll find many more sprinkled
throughout future chapters as well.
If you’re interested in a career in data science, I encourage you to follow data scientists on platforms like Twitter
and Medium so that you’re kept abreast of the newest innovations and can learn those that are relevant to your
area of specialty.
I once heard a director of informatics in the health care industry describe how quickly the field of data
science changes by saying, “There aren’t any experts; it’s just who’s the fastest learner.” For that reason,
it’s essential to cultivate the skill of being able to learn new tools and concepts on your own.
Big Picture - The importance of Learning on Your Own

9/18/21, 3:01 PM 1. Introduction to Data Science — MA346 Course Notes
https://nathancarter.github.io/MA346-course-notes/_build/html/chapter-1-intro-to-data-science.html 3/4
1.4.2. Excellent communication
This was already mentioned earlier, but I will re-emphasize it here, because of its importance. In a meeting
between the Bentley University Career Services office and about a dozen employers of our graduates, the
employers were asked whether they preferred technical knowledge or what some call “soft skills” and others call
“power skills,” which include communication perhaps first and foremost. Unanimously every employer chose the
latter.
Consequently our course will contain several opportunities for you to exercise your communication skills and
receive feedback from the instructor on doing so. See the comments under the “communication” bullet above,
and the course outline in the appendix. The first such opportunities appear immediately below.
1.5. Where should I start?
There are several topics you can investigate on your own that will help you get a leg up in our course. None of
these topics is required for our course, but each is available for you to investigate outside of class and report
back, to fulfill the “Learning on Your Own” requirement mentioned above.
A report on file explorers and shell commands would address all of the following points.
What the folder tree/hierarchy is
What a file path is and how they are written differently on Windows and OS X
How to accomplish each of the following tasks from both the file explorer and the command prompt
Navigate to your home folder
Move one step up/down the folder hierarchy
Copy a file
Move a file
From the command prompt:
How to list all files in the current folder
How to view the contents of a text file
From the file explorer:
What happens when you double-click a file in a file explorer
What file extensions are used for
What are some of the dangers of changing a file extension
Data science is about turning data into actionable knowledge. If a data scientist cannot take the results
of their analysis and effectively communicate them to decision makers, they have not turned data into
actionable knowledge, and have therefore failed at their goal. Even if the insights are brilliant, if they
are never shared with those who need them, they achieve nothing. Good communication is essential for
data work.
Big Picture - The importance of communication

On Windows, the file explorer is called Windows Explorer; on Mac, it is called Finder. It is essential that
every computer-literate person knows how to use these tools. Most of the actions you can take with
your mouse in Windows Explorer or OS X Finder can also be taken using commands at a command
prompt. On Windows, this prompt can be found by running command.exe; on Mac, it can be found in
Terminal.app. It is very useful to know how to do at least basic file manipulation tools with the
command prompt, because it enables you to perform the same actions in cloud computing
evironments where a file explorer may not be available.
Learning on Your Own - File Explorers and Shell Commands

9/18/21, 3:01 PM 1. Introduction to Data Science — MA346 Course Notes
https://nathancarter.github.io/MA346-course-notes/_build/html/chapter-1-intro-to-data-science.html 4/4
By Nathan Carter

© Copyright 2021.

A computational notebook reporting on this numerical technique would cover:
how to implement the trapezoidal rule in Python, given as input some function f, some real numbers a and
b, and some positive integer n
at least one example of how to apply it to a simple mathematical function f where we know the precise
answer from calculus, comparing the result for various values of n
at least one example of how to apply it to a set of data, when a smooth function f is not available
One valuable contribution that computers make to mathematics is the ability to get excellent
approximations to mathematical questions without needing to do extensive by-hand calculations. For
instance, recall the trapezoidal rule for estimating the result of an integral (covered in the courses
MA126 and MA139). It says that we can estimate the value of
 
by computing the area of a
sequence of trapezoids. Choose some points evenly spaced between and , with
and , each one a distance of from the previous. Then the integral is approximately
equal to
 .
Learning on Your Own - Numerical Analysis

f(x) dx
∫
b
a
, , … ,
x0 x1 xn a b
= a
x0 = b
xn Δx
(f( ) + 2f( ) + 2f( ) + ⋯ + 2f( ) + f( ))
Δx
2
x0 x1 x2 xn−1 xn

More Related Content

PPTX
A Practical-ish Introduction to Data Science
PPTX
Introduction to Data Science
PDF
Data Scientist Roles and Responsibilities | Data Scientist Career | Data Scie...
PPTX
Data Science
PPTX
Data Wrangling
PPTX
Introduction to data science.pptx
PDF
The Data Science Process
PDF
Data science presentation 2nd CI day
A Practical-ish Introduction to Data Science
Introduction to Data Science
Data Scientist Roles and Responsibilities | Data Scientist Career | Data Scie...
Data Science
Data Wrangling
Introduction to data science.pptx
The Data Science Process
Data science presentation 2nd CI day

What's hot (20)

PDF
Introduction to data analytics
PPTX
Data Science
PDF
Data science
PDF
Data science presentation
PPT
OLAP
PPTX
Data science
PPTX
Introduction to Data Analytics
PDF
Introduction to data science
PPT
Entity Relationship Model
PDF
Introduction on Data Science
PDF
OLAP IN DATA MINING
PPTX
Introduction to Data Mining
PDF
Data science - An Introduction
PPT
Introduction to Data Mining
PDF
Big Data & Analytics (Conceptual and Practical Introduction)
PPTX
Data Visualization & Analytics.pptx
PPTX
Introduction to data science
PPTX
Exploratory data analysis
PPTX
introduction to data science
PDF
Data Science Project Lifecycle
Introduction to data analytics
Data Science
Data science
Data science presentation
OLAP
Data science
Introduction to Data Analytics
Introduction to data science
Entity Relationship Model
Introduction on Data Science
OLAP IN DATA MINING
Introduction to Data Mining
Data science - An Introduction
Introduction to Data Mining
Big Data & Analytics (Conceptual and Practical Introduction)
Data Visualization & Analytics.pptx
Introduction to data science
Exploratory data analysis
introduction to data science
Data Science Project Lifecycle
Ad

Similar to 1. introduction to data science — (20)

PPT
Data_Science_Presentationforlearning machine learning
PDF
Data science unit 1 By: Professor Lili Saghafi
PPTX
Introduction to Data Science.pptx
PPTX
Introduction to Data Science.pptx
PPTX
introductiontodatascience-230122140841-b90a0856 (1).pptx
PDF
Luciano uvi hackfest.28.10.2020
PDF
data science .1.pdf
PPTX
data science course in bangalore with placement
PPTX
Unit 1-FDS. .pptx
PPTX
313 IDS _Course_Introduction_PPT.pptx
PPTX
Welcome to CS310!
PDF
So you want to be a Data Scientist?
PDF
A Beginner-Friendly Guide to Starting a Career in Data Science | IABAC
PDF
Untitled document.pdf
PDF
DataScience_RoadMap_2023.pdf
PDF
Data Science: Notes and Toolkits
PDF
Data science course in Moradabad.pdf
PDF
S1-Introduction_to_Computational_physics.pdf
PDF
Data Science Overview and a brief introduction to data science.pdf
PDF
Data+Science+in+Python+-+Data+Prep+&+EDA.pdf
Data_Science_Presentationforlearning machine learning
Data science unit 1 By: Professor Lili Saghafi
Introduction to Data Science.pptx
Introduction to Data Science.pptx
introductiontodatascience-230122140841-b90a0856 (1).pptx
Luciano uvi hackfest.28.10.2020
data science .1.pdf
data science course in bangalore with placement
Unit 1-FDS. .pptx
313 IDS _Course_Introduction_PPT.pptx
Welcome to CS310!
So you want to be a Data Scientist?
A Beginner-Friendly Guide to Starting a Career in Data Science | IABAC
Untitled document.pdf
DataScience_RoadMap_2023.pdf
Data Science: Notes and Toolkits
Data science course in Moradabad.pdf
S1-Introduction_to_Computational_physics.pdf
Data Science Overview and a brief introduction to data science.pdf
Data+Science+in+Python+-+Data+Prep+&+EDA.pdf
Ad

Recently uploaded (20)

PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
01-Introduction-to-Information-Management.pdf
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Institutional Correction lecture only . . .
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
RMMM.pdf make it easy to upload and study
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Basic Mud Logging Guide for educational purpose
Microbial diseases, their pathogenesis and prophylaxis
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Anesthesia in Laparoscopic Surgery in India
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
102 student loan defaulters named and shamed – Is someone you know on the list?
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
01-Introduction-to-Information-Management.pdf
Complications of Minimal Access Surgery at WLH
Institutional Correction lecture only . . .
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Cell Types and Its function , kingdom of life
RMMM.pdf make it easy to upload and study
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Basic Mud Logging Guide for educational purpose

1. introduction to data science —

  • 1. 9/18/21, 3:01 PM 1. Introduction to Data Science — MA346 Course Notes https://nathancarter.github.io/MA346-course-notes/_build/html/chapter-1-intro-to-data-science.html 1/4 1. Introduction to Data Science See also the slides that summarize a portion of this content. 1.1. What is data science? The term “data science” was coined in 2001, attempting to describe a new field. Some argue that it’s nothing more than the natural evolution of statistics, and shouldn’t be called a new field at all. But others argue that it’s more interdisciplinary. For example, in The Data Science Design Manual (2017), Steven Skiena says the following. I think of data science as lying at the intersection of computer science, statistics, and substantive application domains. From computer science comes machine learning and high-performance computing technologies for dealing with scale. From statistics comes a long tradition of exploratory data analysis, significance testing, and visualization. From application domains in business and the sciences comes challenges worthy of battle, and evaluation standards to assess when they have been adequately conquered. This echoes a famous blog post by Drew Conway in 2013, called The Data Science Venn Diagram, in which he drew the following diagram to indicate the various fields that come together to form what we call “data science.” Regardless of whether data science is just a part of statistics, and regardless of the domain to which we’re applying data science, the goal is the same: to turn data into actionable value. The professional society INFORMS defines the related field of analytics as “the scientific process of transforming data into insight for making better decisions.” 1.2. What do data scientists do? Turning data into actionable value usually involves answering questions using data. Here’s a typical workflow for how that plays out in practice. 1. Obtain data that you hope will help answer the question. 2. Explore the data to understand it. 3. Clean and prepare the data for analysis. 4. Perform analysis, model building, testing, etc. (The analysis is the step most people think of as data science, but it’s just one step! Notice how much more there is that surrounds it.) 5. Draw conclusions from your work.  Contents 1.1. What is data science? 1.2. What do data scientists do? 1.3. What’s in our course? 1.4. Will this course make me a data scientist? 1.4.1. Learning on your own (LOYO) 1.4.2. Excellent communication 1.5. Where should I start?
  • 2. 9/18/21, 3:01 PM 1. Introduction to Data Science — MA346 Course Notes https://nathancarter.github.io/MA346-course-notes/_build/html/chapter-1-intro-to-data-science.html 2/4 y 6. Report those conclusions to the relevant stakeholders. Our course focuses on all the steps except for the analysis. You’ve learned some introductory statistical analysis in one of the course prerequisites (GB213), and we will leverage that. (Later in our course we will review simple linear regression and hypothesis testing.) If you have taken other relevant courses in statistics, mathematical modeling, econometrics, etc., and want to bring that knowledge in to use in this course, great, but it’s not a requirement. Other advanced statistics and modeling courses you take later will essentially plug into step 4 in this data science workflow. 1.3. What’s in our course? Our course covers the following four foundational aspects of data science. Mathematics: We will cover foundational mathematical concepts, such as functions, relations, assumptions, conclusions, and abstraction, so that we can use these concepts to define and understand many aspects of data manipulation. We will also make use of statistics from GB213 (and optionally other statistics courses you may have taken) in course projects, and we will briefly review that statistical material as well. We will also see small previews of other mathematics and statistics courses and their connections to data science, including graphs for social network analysis, matrices for finding themes in relations, and supervised machine learning. Technology: We will extend your Python knowledge from the CS230 prerequisite with more advanced table manipulation functions, extended practice with data cleaning and manipulation tasks, computational notebooks (such as Jupyter), and GitHub for version control and project publishing. Visualization: We will learn new types of plots for a wide variety of data types and what you intend to communicate about them. We will also study the general principles that govern when and how to use visualizations and will learn how to build and publish interactive online visualizations (dashboards). Communication: We will study how to write comments in code, documentation for code, motivations in computational notebooks, interpretation of results in computational notebooks, and technical reports about the results of analyses. We will prioritize clarity, brevity, and knowing the target audience. Many of these same principles will arise when creating presentations or videos as well. Each of these modes of communication is required at some point in our course. Details about specific topics and their order appears in the Detailed Course Schedule appendix. 1.4. Will this course make me a data scientist? This course is an introduction to data science. Learning more math, stats, and technology will make you more qualified than just this one course can. (Bentley University has both a Data Analytics major and a Data Technologies minor, if you’re curious which courses are relevant.) But there are two focuses of our course that will make a big difference: 1.4.1. Learning on your own (LOYO) Thus our course requires you to do so. Once during the course you must research a topic outside of class and report on it to the class, through writing, presenting, video, or whatever modality makes sense for the content. To help you choose a topic, I’ve marked many possible topics throughout these course notes, in red boxes entitled “Learning on Your Own.” The first such boxes appear below, in this chapter, but you’ll find many more sprinkled throughout future chapters as well. If you’re interested in a career in data science, I encourage you to follow data scientists on platforms like Twitter and Medium so that you’re kept abreast of the newest innovations and can learn those that are relevant to your area of specialty. I once heard a director of informatics in the health care industry describe how quickly the field of data science changes by saying, “There aren’t any experts; it’s just who’s the fastest learner.” For that reason, it’s essential to cultivate the skill of being able to learn new tools and concepts on your own. Big Picture - The importance of Learning on Your Own 
  • 3. 9/18/21, 3:01 PM 1. Introduction to Data Science — MA346 Course Notes https://nathancarter.github.io/MA346-course-notes/_build/html/chapter-1-intro-to-data-science.html 3/4 1.4.2. Excellent communication This was already mentioned earlier, but I will re-emphasize it here, because of its importance. In a meeting between the Bentley University Career Services office and about a dozen employers of our graduates, the employers were asked whether they preferred technical knowledge or what some call “soft skills” and others call “power skills,” which include communication perhaps first and foremost. Unanimously every employer chose the latter. Consequently our course will contain several opportunities for you to exercise your communication skills and receive feedback from the instructor on doing so. See the comments under the “communication” bullet above, and the course outline in the appendix. The first such opportunities appear immediately below. 1.5. Where should I start? There are several topics you can investigate on your own that will help you get a leg up in our course. None of these topics is required for our course, but each is available for you to investigate outside of class and report back, to fulfill the “Learning on Your Own” requirement mentioned above. A report on file explorers and shell commands would address all of the following points. What the folder tree/hierarchy is What a file path is and how they are written differently on Windows and OS X How to accomplish each of the following tasks from both the file explorer and the command prompt Navigate to your home folder Move one step up/down the folder hierarchy Copy a file Move a file From the command prompt: How to list all files in the current folder How to view the contents of a text file From the file explorer: What happens when you double-click a file in a file explorer What file extensions are used for What are some of the dangers of changing a file extension Data science is about turning data into actionable knowledge. If a data scientist cannot take the results of their analysis and effectively communicate them to decision makers, they have not turned data into actionable knowledge, and have therefore failed at their goal. Even if the insights are brilliant, if they are never shared with those who need them, they achieve nothing. Good communication is essential for data work. Big Picture - The importance of communication  On Windows, the file explorer is called Windows Explorer; on Mac, it is called Finder. It is essential that every computer-literate person knows how to use these tools. Most of the actions you can take with your mouse in Windows Explorer or OS X Finder can also be taken using commands at a command prompt. On Windows, this prompt can be found by running command.exe; on Mac, it can be found in Terminal.app. It is very useful to know how to do at least basic file manipulation tools with the command prompt, because it enables you to perform the same actions in cloud computing evironments where a file explorer may not be available. Learning on Your Own - File Explorers and Shell Commands 
  • 4. 9/18/21, 3:01 PM 1. Introduction to Data Science — MA346 Course Notes https://nathancarter.github.io/MA346-course-notes/_build/html/chapter-1-intro-to-data-science.html 4/4 By Nathan Carter © Copyright 2021. A computational notebook reporting on this numerical technique would cover: how to implement the trapezoidal rule in Python, given as input some function f, some real numbers a and b, and some positive integer n at least one example of how to apply it to a simple mathematical function f where we know the precise answer from calculus, comparing the result for various values of n at least one example of how to apply it to a set of data, when a smooth function f is not available One valuable contribution that computers make to mathematics is the ability to get excellent approximations to mathematical questions without needing to do extensive by-hand calculations. For instance, recall the trapezoidal rule for estimating the result of an integral (covered in the courses MA126 and MA139). It says that we can estimate the value of by computing the area of a sequence of trapezoids. Choose some points evenly spaced between and , with and , each one a distance of from the previous. Then the integral is approximately equal to . Learning on Your Own - Numerical Analysis  f(x) dx ∫ b a , , … , x0 x1 xn a b = a x0 = b xn Δx (f( ) + 2f( ) + 2f( ) + ⋯ + 2f( ) + f( )) Δx 2 x0 x1 x2 xn−1 xn