Computational Data Science

CMPT 353, Fall 2019

Greg Baker

https://coursys.sfu.ca/2019fa-cmpt-353-d1/pages/

This Course

It's Computational Data Science. We'll come back to what that is.

Course web site: in CourSys, https://coursys.sfu.ca/2019fa-cmpt-353-d1/pages/ .

This Course

Instructor: Greg Baker <ggbaker@sfu.ca>.

Office hours: Tuesday 11:00–12:00 and Friday 10:30–12:20 in TASC1 9229.

This Course

TAs: Logan and Ipsita.

Office hours: details later.

Computational Data Science?

Computational Data Science: data science, but with computation as the focus.

But what is data science?

Data Science?

According to Wikipedia: an interdisciplinary field about processes and systems to extract knowledge or insights from data in various forms…

According to Pat Hanrahan, Tableau Software: [The combination of] business knowledge, analytical skills, and computer science.

According to Daniel Tunkelang, LinkedIn: [The ability to] obtain, scrub, explore, model and interpret data, blending hacking, statistics and machine learning.

Data Science?

According to Joel Grus: There's a joke that says a data scientist is someone who knows more statistics than a computer scientist and more computer science than a statistician.… We'll says that a data scientist is someone who extracts insights from messy data.

Data Science?

According to Drew Conway, Alluvium:

Data Science?

My definitions:

Data Science
You get some data. Then what do you do to get answers from it? Whatever that is, that's data science.
Computational Data Science
You get some data. You know how to program. Then what do you do?

Why Data Science?

Why is data science suddenly so popular?

There's more data being collected: web access logs, purchase history, click-through rates, location history, sensor data, ….

Sometimes the volume of data is big: too big to manage easily. That's where big data starts.

Why Data Science?

People want answers/​insights from that data: Is the marketing campaign working? Is the UI actually usable? What if we did X instead of Y?

New techniques: Machine learning lets us attack questions that were previously unanswerable. Computer scientists are realizing that statistics is important; statisticians are realizing that computer science is important.

Topics (1)

  • Data science: what is it? How does data become useful?
  • Data processing tools: Python + NumPy + Pandas; analysis tools in Python.
  • Data aquisition. Or where do we find data?
  • Getting data into shape: cleaning; extract/​transform/​load.

Topics (2)

  • Making sense of data: statistics. Or it turns out that stats course was useful.
  • Making sense of data: machine learning. Or it's like AI, except it works.
  • Data analysis strategies.

Topics (3)

  • Big data tools: Apache Spark and a compute cluster.
  • Data visualization and communicating results.

Grades

  • Weekly exercises: 12 × 3.5% = 42%
  • Project: 13%
  • Quizzes: 2 × 7.5% = 15%
  • Final exam: 30%

Exercises

Due Wednesdays. My goal: make sure you actually try out the things we have talked about and see the reality of applying them.

Will contain some short problems to get you used to the tools, expanding to something a more interesting real problem.

Project

In the lectures/​exercises, I intend to explore what I consider the core of data science.

The project will let you explore an idea on the edges of that, depending what interests you.

Project

I will (hope to?) post project topic options related to topics like…

  • natural language processing
  • image recognition
  • signal processing

Or if you have something else in mind, we can discuss it.

Project

A few details:

  • Groups of 2–3 (or something else?).
  • Take the given problem. Use the techniques from the course, and explore others to sensibly attack the problem.
  • In a short report, summarize your methods, findings, and what worked/​didn't.

Quizzes/Exam

Quizzes: in lecture time on…

  • October 8 (Tuesday of week 6),
  • November 5 (Tuesday of week 10).

Final Exam: December 10, 12:00–15:00.

Programming

Python 3 will be the primary programming language language used in the course. If you aren't comfortable with it, you need to be (very) soon.

StackExchange Data Science tags (as of May 2019):

LanguageTagged Qs
Python2604
R917
Matlab106
Java48
Scala34

Programming

This will be a programming-heavy course. If you don't really like programming, this might not be the course for you.

The programming style will be very library-heavy, which is realistic in the modern world. We will use many libraries: NumPy, Pandas, matplotlib, scikit-learn, statsmodels, ….

Programming

That means you'll spend a lot of time reading the docs and fighting to make the tools do what you want them to, and less implementing the logic yourself. That's also realistic.

The code you would have written would almost certainly have been slower and worse.

Programming

I will feel free to increase the amount of assignment work a little from my usual level because…

Lectures and Labs

Thursday: lectures as expected.

Tuesday: Usually no lectures. The TAs and I will be in CSIL, ASB 9840 (and overflow to 9804). Informal lab time. Because of the class size, we'll have a little extra time: 1:30–3:00.

… but no promises: there may be lectures on some Tuesdays. (Default will be no Tuesday lecture unless otherwise announced.)

There will be lecture today, obviously.

References

Textbooks: none.

Possible reference material:

References

Possible reference material (continued):

Expectations

To get credit for this course, I expect you to demonstrate that you know how to use programming techniques to manipulate and analyse data. That means:

  • A pass on the weighted average of the stuff where you demonstrate programming ability: exercises + project.
  • A pass on the weighted average of the stuff where we know for sure you're doing the work yourself: quizzes + final exam.

Failure to do these may result in failing the course.

Expectations

Academic Honesty: it's important, as always.

If you're using an online source, leave a comment.

def this_function(p1, p2):
    # adapted from http://stackoverflow.com/a/21623206/1236542
    ...

If you work with another student, we shouldn't be able to tell from the results.

More details on course web site.