Professional Documents
Culture Documents
(http://snap.stanford.edu/) (http://stanford.edu/)
Logistics
Lectures: are on Tuesday/Thursday 3:00-4:20 PM PDT in person in the NVIDIA Auditorium.
Lecture Videos: are available on Canvas (https://canvas.stanford.edu/courses/173895) for all
the enrolled Stanford students. You can also check our past Coursera MOOC
(https://www.youtube.com/channel/UC_Oao2FYkLAUlUVkBfze4jg/videos).
Public resources: The lecture slides and assignments will be posted online as the course
progresses. We are happy for anyone to use these resources, but we cannot grade the work of
any students who are not officially enrolled in the class.
Contact: Students should ask all course-related questions on Ed
(https://edstem.org/us/courses/38149/discussion/), where you will also find all the
announcements. For external enquiries, personal matters, or in emergencies, you can email us
at cs246-spr2223-staff@lists.stanford.edu.
Academic accommodations: If you need an academic accommodation based on a disability,
you should initiate the request with the Office of Accessible Education (OAE)
(https://oae.stanford.edu/students/getting-started/requesting-new-or-additional-
accommodations). The OAE will evaluate the request, recommend accommodations, and
prepare a letter for faculty. Students should contact the OAE as soon as possible since timely
notice is needed to coordinate accommodations.
https://web.stanford.edu/class/cs246/ 1/13
12/3/23, 8:38 PM CS246 | Home
Instructor
Jure Leskovec
(https://profiles.stanford.edu/jure-
leskovec)
Co-Instructor
Mina Ghashami
(https://mina-
ghashami.github.io/)
Course Coordinator
Lata Nair
()
https://web.stanford.edu/class/cs246/ 2/13
12/3/23, 8:38 PM CS246 | Home
Course Assistants
Zhuoyi Huang
Aman Bansal (Head TA) (https://www.linkedin.com/in/zhuoyi-
(http://bansalaman.com) huang/)
Luca Pistor
Paridhi Maheshwari (https://www.linkedin.com/in/luca-
(https://paridhimaheshwari2708.github.io/) pistor/)
https://web.stanford.edu/class/cs246/ 3/13
12/3/23, 8:38 PM CS246 | Home
Content
What is this course about? [Info Handout
(handouts/CS246_Info_Handout.pdf)]
The course will discuss data mining and machine learning algorithms for analyzing very large
amounts of data. The emphasis will be on MapReduce and Spark (http://spark.apache.org) as
tools for creating parallel algorithms that can process very large amounts of data.
Topics include: Frequent itemsets and Association rules, Near Neighbor Search in High
Dimensional Data, Locality Sensitive Hashing (LSH), Dimensionality reduction, Recommendation
Systems, Clustering, Link Analysis, Large-scale Supervised Machine Learning, Data streams,
Mining the Web for Structured Data, Web Advertising.
Previous offerings
The previous version of the course is CS345A: Data Mining
(http://www.stanford.edu/class/cs345a/) which also included a course project. CS345A has now
been split into two courses, CS246 and CS341.
You can access class notes and slides of previous versions of the course here:
https://web.stanford.edu/class/cs246/ 4/13
12/3/23, 8:38 PM CS246 | Home
Prerequisites
Students are expected to have the following background:
Knowledge of basic computer science principles and skills, at a level sufficient to write a
reasonably non-trivial computer program (e.g., CS107 or CS145 or equivalent are
recommended).
Good knowledge of Java and Python will be extremely helpful since most assignments will
require the use of Spark.
Familiarity with basic probability theory (CS109 or Stat116 or equivalent is sufficient but not
necessary).
Familiarity with writing rigorous proofs (at a minimum, at the level of CS 103).
Familiarity with basic linear algebra (e.g., any of Math 51, Math 103, Math 113, CS 205, or EE
263 would be much more than necessary).
Familiarity with algorithmic analysis (e.g., CS 161 would be much more than necessary).
The recitation sessions in the first weeks of the class will give an overview of the expected
background.
Reference Text
The following text is useful, but not required. It can be downloaded for free, or purchased from
Cambridge University Press.
Leskovec-Rajaraman-Ullman: Mining of Massive Dataset (http://www.mmds.org/)
Schedule
Lecture slides will be posted here shortly before each lecture. If you wish to view slides further in
advance, refer to 2022 course offering's slides (http://snap.stanford.edu/class/cs246-2022/),
which are mostly similar.
https://web.stanford.edu/class/cs246/ 5/13
12/3/23, 8:38 PM CS246 | Home
Events:
Deadlines:
Deadlines:
Events:
Deadlines:
https://web.stanford.edu/class/cs246/ 6/13
12/3/23, 8:38 PM CS246 | Home
Events:
Deadlines:
Events:
Deadlines:
Deadlines: Colab 0,
Colab 1
due
Events:
Deadlines:
https://web.stanford.edu/class/cs246/ 7/13
12/3/23, 8:38 PM CS246 | Home
Description: Clustering
[slides (slides/05-clustering.pdf)]
Events:
Deadlines:
Events: Colab 3
(https://colab.research.google.com/drive/1dQVCGe4YR_RsERZ7VZHJIhI1sdd_9adv?
usp=sharing), Homework 2 (homework/hw2-bundle.zip) out
Deadlines: Colab 2,
Homework 1 due
Events:
Deadlines:
https://web.stanford.edu/class/cs246/ 8/13
12/3/23, 8:38 PM CS246 | Home
Events: Colab 4
(https://colab.research.google.com/drive/16qUBvtFCEH5WoxJUgJWueKUc2tooEOrf?
usp=sharing)
out
Deadlines: Colab 3
due
Description: PageRank
[slides (slides/09-pagerank.pdf)]
Events:
Deadlines:
Deadlines: Colab 4,
Homework 2 due
https://web.stanford.edu/class/cs246/ 9/13
12/3/23, 8:38 PM CS246 | Home
Events:
Deadlines:
Deadlines: Colab 5
due
Events:
Deadlines:
https://web.stanford.edu/class/cs246/ 10/13
12/3/23, 8:38 PM CS246 | Home
Deadlines: Colab 6,
Homework 3
due
Events:
Deadlines:
Events: Colab 8
(https://colab.research.google.com/drive/1pXoQtiJPwJ8NVkkQcrMWjOEM4r4oIWeB?
usp=sharing)
out
Deadlines: Colab 7
due
https://web.stanford.edu/class/cs246/ 11/13
12/3/23, 8:38 PM CS246 | Home
Events:
Deadlines:
Deadlines: Colab 8,
Homework 4
due
Description: Exam
Events:
Deadlines:
Events:
Deadlines:
https://web.stanford.edu/class/cs246/ 12/13
12/3/23, 8:38 PM CS246 | Home
Description: No class
Events:
Deadlines: Colab 9
due
https://web.stanford.edu/class/cs246/ 13/13