introduction to data sciencegiri/teach/5768/f19/lecs/unit1... · 2019-08-29 · introduction to...

18
Introduction to Data Science GIRI NARASIMHAN, SCIS, FIU

Upload: others

Post on 29-Jun-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction to Data Sciencegiri/teach/5768/F19/lecs/Unit1... · 2019-08-29 · Introduction to Data Science GIRI NARASIMHAN, SCIS, FIU. CAP 5510 / CGS 5166 F19 Course Preliminaries!

Introduction to Data ScienceGIRI NARASIMHAN, SCIS, FIU

Page 2: Introduction to Data Sciencegiri/teach/5768/F19/lecs/Unit1... · 2019-08-29 · Introduction to Data Science GIRI NARASIMHAN, SCIS, FIU. CAP 5510 / CGS 5166 F19 Course Preliminaries!

CAP 5510 / CGS 5166 F19

Course Preliminaries

! Course Webpage: http: //www.cs.fiu.edu/~giri/teach/5768F19.html ❑ Lecture Slides; Reading Material; Announcements; Homework ❑ VISIT OFTEN!

! Class meets 6:25 – 7:40 PM, MW. PG6 114, ! Office ECS 254B; Office Hours: By Appointment Only ! Phone: x-3748; Email: [email protected] ! Final Exam: Monday, 12/11/2019, 5:00 – 7:00 PM, PG6 114

http: //www.cs.fiu.edu/~giri/teach/5768F19.html8/26/19

!2

Page 3: Introduction to Data Sciencegiri/teach/5768/F19/lecs/Unit1... · 2019-08-29 · Introduction to Data Science GIRI NARASIMHAN, SCIS, FIU. CAP 5510 / CGS 5166 F19 Course Preliminaries!

CAP 5510 / CGS 5166 F19

Momentos

! Slides and Audio online ! You need to register

❑ Go to https://fiu.momentos.life ❑ If you don’t already have an account

▪ Click on “Sign up” ▪ Follow instructions & use referral code: 9PQG2X

❑ If you have an account, “Add Course” with code 9PQG2X ❑ Verify account using link sent to email

8/26/19

!3

Page 4: Introduction to Data Sciencegiri/teach/5768/F19/lecs/Unit1... · 2019-08-29 · Introduction to Data Science GIRI NARASIMHAN, SCIS, FIU. CAP 5510 / CGS 5166 F19 Course Preliminaries!

CAP 5510 / CGS 5166 F19

What is Data Science?

! Science of what we do to data … ! And why we do those things …

8/26/19

!4

Page 5: Introduction to Data Sciencegiri/teach/5768/F19/lecs/Unit1... · 2019-08-29 · Introduction to Data Science GIRI NARASIMHAN, SCIS, FIU. CAP 5510 / CGS 5166 F19 Course Preliminaries!

CAP 5510 / CGS 5166 F19

What else does one do to Data?

! Store ! Search ! Retrieve !

8/26/19

!5

Page 6: Introduction to Data Sciencegiri/teach/5768/F19/lecs/Unit1... · 2019-08-29 · Introduction to Data Science GIRI NARASIMHAN, SCIS, FIU. CAP 5510 / CGS 5166 F19 Course Preliminaries!

CAP 5510 / CGS 5166 F19

What else does one do to Data?

! Collect ! Store ! Manage ! Retrieve ! Analyze ! Visualize ! Mine ! Learn ! Model ! Generate ! Manipulate

! Process ! Clean ! Transform ! Filter ! Search ! Compress ! Uncompress ! Structure ! Randomize ! Encode ! Decode

8/26/19

!6

Page 7: Introduction to Data Sciencegiri/teach/5768/F19/lecs/Unit1... · 2019-08-29 · Introduction to Data Science GIRI NARASIMHAN, SCIS, FIU. CAP 5510 / CGS 5166 F19 Course Preliminaries!

CAP 5510 / CGS 5166 F19

Connection to Other Disciplines

! Statistics ! Computer Science ! Mathematics ! Modeling ! Data Mining ! Machine Learning

8/26/19

!7

Page 8: Introduction to Data Sciencegiri/teach/5768/F19/lecs/Unit1... · 2019-08-29 · Introduction to Data Science GIRI NARASIMHAN, SCIS, FIU. CAP 5510 / CGS 5166 F19 Course Preliminaries!

CAP 5510 / CGS 5166 F19

Large Repositories

! Federal Government: https://www.data.gov/ (300K datasets) ! Google Earth: https://www.google.com/earth/resources/ ! Census Data: https://www.census.gov/data.html ! Finance: https://www.sec.gov/dera/data/financial-statement-data-sets.html ! Public Health Data: https://www.cdc.gov/DataStatistics/ ! World Facts: https://www.cia.gov/library/publications/resources/the-world-

factbook/ ! Genomic & Biotechnology Data: https://www.ncbi.nlm.nih.gov/ ! Books; Library of Congress: https://www.loc.gov/

8/26/19

!8

Homework: Find one data repository that we did not discuss in class.

Page 9: Introduction to Data Sciencegiri/teach/5768/F19/lecs/Unit1... · 2019-08-29 · Introduction to Data Science GIRI NARASIMHAN, SCIS, FIU. CAP 5510 / CGS 5166 F19 Course Preliminaries!

CAP 5510 / CGS 5166 F19

Local Governments

! Coral Gables Smart City Hub ❑ What data? ❑ What analytics?

8/26/19

!9

Page 10: Introduction to Data Sciencegiri/teach/5768/F19/lecs/Unit1... · 2019-08-29 · Introduction to Data Science GIRI NARASIMHAN, SCIS, FIU. CAP 5510 / CGS 5166 F19 Course Preliminaries!

CAP 5510 / CGS 5166 F19

Election Results 2008

! https://www.nytimes.com/elections/2008/results/president/map.html

8/26/19

!10

Page 11: Introduction to Data Sciencegiri/teach/5768/F19/lecs/Unit1... · 2019-08-29 · Introduction to Data Science GIRI NARASIMHAN, SCIS, FIU. CAP 5510 / CGS 5166 F19 Course Preliminaries!

CAP 5510 / CGS 5166 F19

Google Earth

! https://earth.google.com/web/@13.01144864,77.55727517,927.41413059a,855.7333781d,35y,0h,0t,0r

! https://earth.google.com/web/@35.13789278,-89.89075679,87.85238738a,212.44263087d,35y,-0h,0t,0r

8/26/19

!11

Page 12: Introduction to Data Sciencegiri/teach/5768/F19/lecs/Unit1... · 2019-08-29 · Introduction to Data Science GIRI NARASIMHAN, SCIS, FIU. CAP 5510 / CGS 5166 F19 Course Preliminaries!

CAP 5510 / CGS 5166 F19

Temperature Circle: A Century of Global Warming, in Just 35 SecondsBy Brian Kahn, August 8, 2017

8/26/19

!12

Page 13: Introduction to Data Sciencegiri/teach/5768/F19/lecs/Unit1... · 2019-08-29 · Introduction to Data Science GIRI NARASIMHAN, SCIS, FIU. CAP 5510 / CGS 5166 F19 Course Preliminaries!

CAP 5510 / CGS 5166 F19

Course Evaluation

! Homework 40 % ! Class Project 25 % ! Quizzes 10 % ! Participation 5 % ! Exam(s) 20 %

8/26/19

!13

Page 14: Introduction to Data Sciencegiri/teach/5768/F19/lecs/Unit1... · 2019-08-29 · Introduction to Data Science GIRI NARASIMHAN, SCIS, FIU. CAP 5510 / CGS 5166 F19 Course Preliminaries!

CAP 5510 / CGS 5166 F19

The Data Science Process

! Formulate the question ! Collect the data ! Explore, Model, Analyze ! Visualize and Interpret ! Communicate and/or Act on it ! Build predictive models for the future ! Iterate

8/26/19

!14

Page 15: Introduction to Data Sciencegiri/teach/5768/F19/lecs/Unit1... · 2019-08-29 · Introduction to Data Science GIRI NARASIMHAN, SCIS, FIU. CAP 5510 / CGS 5166 F19 Course Preliminaries!

CAP 5510 / CGS 5166 F19

Class Project Plan

! Pick a data set of interest Aug 28 ! Formulate a set of questions Sep 11 ! Download the data; plan tools; identify resources Sep 18 ! Plan a strategy; Design algorithms Sep 25 ! Analyze, Visualize and Interpret October ! Present preliminary results Oct 23 ! Iterate, Improve, Refine All November ! Final Report Nov 30 ! Final presentation Nov 27, Dec 2, 4

8/26/19

!15

Page 16: Introduction to Data Sciencegiri/teach/5768/F19/lecs/Unit1... · 2019-08-29 · Introduction to Data Science GIRI NARASIMHAN, SCIS, FIU. CAP 5510 / CGS 5166 F19 Course Preliminaries!

CAP 5510 / CGS 5166 F19

Case Study

! EPA established Dec 2, 1970 ! Clean Air Act of 1970

❑ Amendments 1977, 1990 ! Addressed

❑ Emissions ❑ Ozone layer ❑ Noise Pollution ❑ Enforcement

! Did it Work? ❑ Mortality ❑ Lung diseases ❑ Heart Diseases ❑ Loss of Productivity ❑ Medical Bills

! Causes ❑ Industry, Agriculture, Transport, HFCs

8/26/19

!16

Page 17: Introduction to Data Sciencegiri/teach/5768/F19/lecs/Unit1... · 2019-08-29 · Introduction to Data Science GIRI NARASIMHAN, SCIS, FIU. CAP 5510 / CGS 5166 F19 Course Preliminaries!

CAP 5510 / CGS 5166 F19

Homework: Compare 1999 & 2012

! Outdoor PM2.5 decreased on average across U.S. due to Clean Air Act. ❑ Look at average & SD for 1999 and for 2012 and compare ❑ Adjust for the imbalance ❑ Compute statistical significance ❑ Dig deeper into regional & seasonal differences ❑ Suggest factors causing small changes vs big changes from 1999 to 2012 ❑ Perform time series analysis

8/26/19

!17

Page 18: Introduction to Data Sciencegiri/teach/5768/F19/lecs/Unit1... · 2019-08-29 · Introduction to Data Science GIRI NARASIMHAN, SCIS, FIU. CAP 5510 / CGS 5166 F19 Course Preliminaries!

CAP 5510 / CGS 5166 F19

Other topics for this course

! Connections between Stats, CS, Math, Statistical Modeling, Data Mining, and Machine Learning

! Summarization ! Pattern Discovery, Frequent Itemsets, Trends ! Anomaly Detection ! Feature Extraction ! Clustering ! Privacy and Security ! Conditional Dependence and Causation

8/26/19

!18