This course covers techniques needed to collect, store, analyze, and visualize big data, particularly for applications in machine learning at scale.
Dr. Peilong Li
Esbenshade 284B
By email
4
This course covers techniques needed to collect, store, analyze, and visualize big data, particularly for applications in machine learning at scale. The MapReduce paradigm will be taught using the popular Hadoop framework. Both batch and real-time analysis of massive quantities of data will be applied to machine learning problems such as clustering, regression, and classification. Relational SQL and NoSQL database models will be discussed and compared with use case analysis. Natural language processing will be studied as a comprehensive big data application.
By the end of the course, the successful students will be able to:
Note this tentative schedule is subject to change. Please check the schedule regularly.
Last Updated: 04/09/2022
| Week | Starting | Topics | Reading | Notes |
|---|---|---|---|---|
| 1 | 1/16/23 | T: Lec1 - Course introduction; Intro to Big Data | Reading1_Hadoop | Mon: HW1 out. |
| H: Lec2 - Hadoop Ecosystem | ||||
| 2 | 1/23/23 | T: Lec3 - HDFS | Reading2_HDFS | Mon: HW1 due. |
| H: Lec4 - MapReduce | ||||
| 3 | 1/30/23 | T: PE1 - MapReduce Exercise | Reading3_MR | Mon: Quiz 1 week; HW 2 out; Team formation due. |
| H: Lec5 - Apache Pig | ||||
| 4 | 2/6/23 | T: PE2 - Pig Exercise | Reading4_Pig | Mon: Quiz 2 week. |
| H: Lec6 - NoSQL (Paper 1 Presentation) | ||||
| 5 | 2/13/23 | T: Lec7 - Hbase (Paper 2 Presentation) | Paper1 & Paper2 | Mon: HW2 due; HW3 out; Finalize project topic and dataset. |
| H: Lec8 - MongoDB | ||||
| 6 | 2/20/23 | T: Exam 1 | Paper3_Spark | |
| H: Lec9 - Intro to Apache Spark (Paper 3 Presentation) | ||||
| 7 | 2/27/23 | T: Lec10 - Spark RDD (Paper 4 Presentation) | Paper4_RDD, LS Ch.3 | Mon: HW3 due. Final project proposal due |
| H: Lec11 - Spark DataFrame | ||||
| 8 | 3/6/23 | T: Spring Break, No Classes | ||
| H: Spring Break, No Classes | ||||
| 9 | 3/13/23 | T: PE3 - Spark DataFrame Exercise | Paper5_Mllib, LS Ch.4 | Mon: Quiz 3 week; HW4 out |
| H: Lec12 - Spark Machine Learning (Paper 5 Presentation) | ||||
| 10 | 3/20/23 | T: PE4 - Spark Linear Regression Exercise | LS Ch.10 | |
| H: Lec13 - Spark Logistic Regression | ||||
| 11 | 3/27/23 | T: Lec14 - Spark Tree Classifiers | LS Ch.11 | Mon: Project milestone 1 due (50% work done) |
| H: PE5 - Spark Trees | ||||
| 12 | 4/3/23 | T: Lec15 - Spark K-Means | LS Ch.7 | Mon: Quiz 4 week |
| H: Exam 2 | ||||
| 13 | 4/10/23 | T: Lec16 - Intro to NLP | Reading5_NLP | Mon: HW4 due |
| H: Lec17 - NLP by example | ||||
| 14 | 4/17/23 | T: Lec18 - NLP with Spark | LS Ch.8 | Mon: Quiz 5 week |
| H: Lec19 - Apache Kafka | Fri: Project milestone 2 due (90% work done) | |||
| 15 | 4/24/23 | T: Scholarship Day, Student Presentation | Spark Document | Mon: HW5 out, SCAD slides due |
| H: Lec20 - Spark Streaming | Tue: Present at SCAD Day | |||
| 16 | 5/1/23 | T: PE6 - Data Streaming | Mon: Quiz 6 week | |
| H: Reading Day, No Classes | ||||
| 17 | 5/8/23 | T: Work on Final Project Report | Mon: Final presentation and demo code due | |
| H: Have a great summer! | Wed: Final report and revised code due; HW5 due |
The final grade for this course depends upon the grades and scores earned on course components weighted as follows:
Grades will be computed by rounding numerical percentages to the nearest integer and applying the following table:
| Letter | Range | Letter | Range | Letter | Range |
|---|---|---|---|---|---|
| A | 93-100 | B- | 80-82 | D+ | 67-69 |
| A- | 90-92 | C+ | 77-79 | D | 63-66 |
| B+ | 87-89 | C | 73-76 | D- | 60-62 |
| B | 83-86 | C- | 70-72 | F | 0-59 |
All homework assignments have to be completed individually in this course. Homework assignments are meant to be more comprehensive tasks that may need additional reading and research. Homework assignments are to be completed in a week or two.
Late Policy
Late assignment will lose points per day, including weekends and holidays. For example, -1 after 1 day, -2 after 2 days, -4 after 3 days … until 8+ days students will receive 0 score. Under no circumstances should any student disclose their code, or copy the code written by other students or from an outside source. Both students will receive 0 score on the disclosed/copied assignment.
Similar to homework, all take-home quizzes are to be done individually, out of class. Take-home quizzes are mini assignments that can be completed within 80 minutes, however, a whole week is granted to complete the task. Each quiz will be given on the Monday of a “quiz week”, and must be completed within 7 days. Unlike homework, no late submission is allowed beyond the due date. Students are responsible for attempting the quiz earlier on the quiz week to prepare questions during the Tue/Thur lecture time.
Students are required to read a designated paper from the given paper list and present it as a course lecture. The presentation time is 30 minutes and students need to cover all important aspects from the paper. A live demo must be presented to illustrate the presented concept. The presenters will receive evaluations from all their peers and the instructor, and a weighted score will be given to the presenters.
The final project best demonstrates students’ understanding of the lecture contents and their capability of solving real data science problems. Students are encouraged to form teams of no more than 2 people. A single solo project is allowed if class size is odd. Topics of the final project are left open for the teams to find, but the final choice has to be decided upon the instructor’s agreement. A good list of potential projects can be found at:
Teams are responsible for finding the project of their interest and discussing the project feasibility face-to-face with the project manager, a.k.a., the instructor 1 week before the project proposal is due. Project formation is on a rolling basis, meaning formerly finalized projects cannot be taken again by another team. The grading of the final project consists of four major aspects:
The requirements and grading rubric for each component of the project will be posted on Canvas. Under no circumstances should any student copy the code from an outside source. Source code similarity tools will be used to detect plagiarism.
Note:
There is a potential pitfall of using open datasets to introduce data science that some students want to leverage. I want to be crystal clear that the point of this project is to learn as much as possible. The point of this project is not to achieve the most intriguing results on the Kaggle leaderboard. For instance, if you copied some code you didn't understand and used it to get very compelling analytical results, I would consider this a very poor project. However, if you thoughtfully try various strategies, incorporate lots of interesting learning resources, and do a good job communicating with your peers regarding what worked and what didn't, I would consider that highly successful even if your results were not the best.
Grading rubrics for code submission in terms of percentage:
Jupyter notebooks are the files you need to submit for labs and homework assignments.
Thorough engagement with each section of the reading. Each exercise has either been completed, or you have articulated a well-thought out set of questions for each of the problems you didn’t answer. Points will be deducted from 100% for the following reasons:
Writing will be evaluated for clarity, concision, and comprehensiveness. The particular style that you should use will depend on the assignment and your audience. The bottom line is don’t cut corners with writing in this class. Your ability to communicate what you have done is just as important as what you have done. Don’t make the mistake of spending all of your time writing code, and then rush through the writing parts of the assignment. See below for some stylistic guidance.
The most up-to-date course schedule will be posted on course website schedule page: https://peilong.github.io/courses/ds420/schedule/. Students are responsible for checking the schedule regularly. Schedule page will include: 1) teaching topics for each meeting; 2) reading assignments for each week and 3) special notes on specific days.
All course announcements will be sent to your E-Town email accounts via Canvas Announcements. You are responsible for signing up for this service and checking your emails regularly.
I have created a Microsoft Teams channel (link) to facilitate course related discussion. Discussions are encouraged to be posted on the “QA” channel from Teams. Private instant messages can be sent directly to your recipient by search your recipient’s name on the “search” bar.
Attendance is expected of every student at every lecture. Students are responsible for all content covered in class as well as assigned book chapters. Due to their nature, pop quizzes cannot be made up.
Except in the case of documented emergencies, neither exams nor in-class labs can be made up afterwards. For excused absences, students must arrange to take the exam or do the lab before the normally scheduled time. Arrangements must be made with the instructor at least two weeks prior to the scheduled time.
Students are expected to maintain an attitude of respect at all times toward their colleagues, the equipment, and the instructor. Cell phones and similar devices is prohibited from using during lecturing time. Students who use offensive language, misuse computing facilities, or are otherwise disruptive of the classroom will be asked to leave.
In the event that classes do not meet because Elizabethtown College is closed or delayed due to inclement weather or some other emergency, the slides that would have been covered during the missed classes will be posted through Canvas. Students are expected to do the assigned reading, review the slides, and e-mail the instructor with any questions. There will also be an opportunity to ask questions about the material when classes resume.
If a scheduled exam or lab is missed, it will normally be made up on the day that classes resume. If the College is closed on a day when a project is due, the project due date will also normally be extended until the day when classes resume. If circumstances render either of these makeup policies unreasonable, the instructor will send an e-mail explaining an alternative makeup opportunity to each student’s Elizabethtown e-mail account.
Check out the up-to-date statement from: Elizabethtown College Catalog, “Academic Judicial System”
Full statement can be found at: Course Syllabus on Disability Services, Religious Observances, and COVID related expectations.
I consider this classroom to be a place where you will be treated with respect, and I welcome individuals of all ages, backgrounds, beliefs, ethnicities, genders, gender identities, gender expressions, national origins, religious affiliations, sexual orientations, ability - and other visible and non-visible differences. All members of this class are expected to contribute to a respectful, welcoming and inclusive environment for every other member of the class.
Docker Engine: https://docs.docker.com/engine/install/. Find the correct installation guide for your operating systems.
Hortonworks Data Platform (HDP) on Sandbox version 2.6.5: https://www.cloudera.com/downloads/hortonworks-sandbox/hdp.html You need to register a Cloudera account first, then choose the correct installation type on Docker (less resource demanding than a virtual machine). The recommended configuration is 4 CPUs and 8 GB of free RAM; however, 2 CPU and 6 GBs of RAM should be enough for our case. Reducing the amount of RAM will make some of the services unavailable.
Follow along the tutorial to install HDP on docker engine: https://www.cloudera.com/tutorials/sandbox-deployment-and-install-guide/3.html
Archived from Peilong/Peilong.github.io@61d25b2 (2023-04-23).