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. Although the relational database model will be discussed, NoSQL models will have primary focus.
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.
| Week | Starting | Topics | Reading | Notes |
|---|---|---|---|---|
| 1 | 8/24/20 | M: Lec1 - Course introduction and overview | Reading1 | Mon: HW1 out, Start project topic search |
| W: Lec2 - Introduction to Big Data | ||||
| F: Lec3 - Hadoop Ecosystem | ||||
| 2 | 8/31/20 | M: Lec4 - HDFS | Reading2 | |
| W: Lec5 - MapReduce | ||||
| F: PE1: MapReduce Exercise | ||||
| 3 | 9/7/20 | M: Lab 1: MapReduce | Reading3 | Mon: HW1 due, HW2 out, Start project proposal writing |
| W: Lec6 - Apache Pig | ||||
| F: Lec7 - Apache Hive | ||||
| 4 | 9/14/20 | M: PE 2: Pig Exercise | Reading4 | |
| W: Lab 2: Pig | ||||
| F: Lec8 - NoSQL | ||||
| 5 | 9/21/20 | M: Professional Development Day - No Classes | DAS Ch.1, 2 and 3 | Mon: HW2 due, HW3 out |
| W: Lec9 - Hbase | ||||
| F: Lec10 - MongoDB | ||||
| 6 | 9/28/20 | M: Lec11 - Intro to Apache Spark | DAS Ch.4 | Mon: Final project proposal due |
| W: Lec12 - Spark RDD | Paper presentation reading list out | |||
| F: Lec13 - Spark DataFrame | ||||
| 7 | 10/5/20 | M: PE 3: Spark DataFrame Exercise | DAS Ch.6 | |
| W: Lab 3: Spark DataFrame | ||||
| F: Lec14 - Spark Machine Learning | ||||
| 8 | 10/12/20 | M: PE4: Spark Linear Regression Exercises | DAS Ch.8 | Mon: HW3 due, HW4 out |
| W: Lec15 - Spark Logistic Regression | ||||
| F: Exam 1 Preview | ||||
| 9 | 10/19/20 | M: Exam 1 | DAS Ch.8 | Exam 1 on Mon |
| W: Professional Development Day - No Classes | ||||
| F: Lec16 - Spark Tree Classifiers | Final project midterm check due on Fri | |||
| 10 | 10/26/20 | M: PE 5: Spark Trees | DAS Ch.7 | |
| W: Lab 4: Spark Trees | ||||
| F: Lec17 - Spark K-Means | ||||
| 11 | 11/2/20 | M: Lec18 - Apache Flume | DAS Ch.7 | Mon: HW4 due, HW5 out |
| W: Lec19 - Apache Kafka | ||||
| F: Lec20 - Spark Streaming | ||||
| 12 | 11/9/20 | M: PE 6: Streaming | Reading 5 | |
| W: Lab 5: Streaming | ||||
| F: Lec21 - NLP | ||||
| 13 | 11/16/20 | M: Lec22 - NLP with Spark | Reading 5 | |
| W: PE 7: NLP | ||||
| Th: Lab6: NLP | ||||
| 14 | 11/23/20 | M: Exam 2 | All notes | Mon: HW5 due, Exam 2 |
| W: Thanksgiving - No Classes | ||||
| F: Thanksgiving - No Classes | ||||
| 15 | 11/30/20 | M: Paper presentation group 1 | ||
| W: Paper presentation group 2 | ||||
| F: Final project presentation group 1 | ||||
| 16 | 12/7/20 | M: Final project presentation group 2 (2:30 - 4:00 PM) | ||
| Final report and revised code due on Fri |
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. Each assignment must be uploaded into Canvas (https://etown.instructure.com/). Assignments must NOT be stored in a public folder. All submissions must follow the provided file name requirements or risk a score of 0.
Typically, you will have about two weeks to complete each assignment. All assignments will be graded based on the following criteria:
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.
All labs are to be done individually, in class, with the assistance of the instructor. Each assignment will be given near the beginning of a class and must be uploaded to Canvas (https://etown.instructure.com/) before the end of the class without late penalty. Extended submission is due on the same day before midnight, but any submission during this grace period will receive 15 points (out of 100) of late penalty. Submissions beyond midnight the same day will not be accepted. To receive full credit, the source code must be well commented and executed without errors, but partial credit will be considered by the instructor based on the understanding of the material demonstrated by the student’s code.
Presenting data analysis results to public is one of the highly demanded skills from data science employers. As part of the final grade of this course, students are required to read one to two technical papers from the provided paper list (or other papers agreed by the instructor), and present the paper during the last week of class. The grading of the paper presentation consists of 50% from peers and 50% from the instructor. The evaluation rubrics will be provided via Canvas.
The final project best demonstrates students’ understanding of the lecture contents and their capability of solving data science problems as a team or individually. The topic of the final project is left open for the students to solicitate, but the final choice has to be decided upon the instructor’s agreement. Students are allowed to form a team of no more than 2 people. 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 proposal is due. Since the teams have to work on different project topics, the finalization of the project title is on a rolling basis – meaning formerly finalized projects cannot be taken again by another team. The deliverable of the final project contains four major components:
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.
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 Etown email accounts via Canvas Announcements. You are responsible for signing up for this service and checking your emails regularly.
Every student should have received my invitation to join our team “DS420 Big Data FA20” on Microsoft Teams. Discussions are encouraged to be posted on the “QA” channel of the team. Private instant messages can be sent directly to your recipient, e.g. the instructor.
Missing my email to join Teams? Click this link again.
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. Students are expected to refrain from using the computers for non-course related purposes during class time and will be penalized 1% of the final grade for each occurrence. Cell phones and similar devices should be turned off before entering the classroom. 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 posted through Piazza group. 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.
Please refer to the Student Handbook for the college’s policy. All projects and assignments must be completed by students individually, without assistance from anyone other than the instructor. Students can discuss the course material with each other at a conceptual level, but each student must do his or her own work. For projects, exams, and all other activities in the course, students are expected to act according to the official policy on academic dishonesty and the highest standards of personal integrity.
The first infraction of academic honesty in this course will carry a penalty of a 0 for the project, lab, or exam in question and a reduction of a full letter grade in the final grade. If a second infraction occurs, the students involved will fail the course, and the instructor will seek the maximum penalty possible under the college’s regulations, up to and including expulsion.
Full statement can be found at link. Elizabethtown College welcomes otherwise qualified students with disabilities to participate in all of its courses, programs, services, and activities. If you have a documented disability and would like to request accommodations in order to access course material, activities, or requirements, please contact the Director of Disability Services, Lynne Davies, by phone (361-1227) or e-mail daviesl@etown.edu. If your documentation meets the college’s documentation guidelines, you will be given a letter from Disability Services for each of your professors. Students experiencing certain documented temporary conditions, such as post-concussive symptoms, may also qualify for temporary academic accommodations and adjustments. As early as possible in the semester, set up an appointment to meet with the instructor to discuss the academic adjustments specified in your accommodations letter as they pertain to my class.
All students are expected to adhere to the established community expectations around safety, including: daily digital health reporting, physical distancing, proper wearing of facial coverings within buildings and classrooms and when within six feet of individuals outdoors, frequent handwashing, and participation in cleaning and sanitizing protocols as requested. You will be turned away from class if you do not have a face covering. Students diagnosed with a health condition that precludes mask wearing can contact Lynne Davies in Disability Services (daviesl@etown.edu) to request remote learning as a reasonable accommodation.
If you are exhibiting any symptoms of COVID or fail to pass the daily health screen, do not come to class. Failure to adhere to the established community expectations around safety will result in notification of Campus Security and application of the student conduct process for failure to comply, endangering the well-being of others, and/or disorderly conduct. The student code of conduct applies also to participation in all virtual activities, including Zoom sessions and discussion boards
The College is eager to facilitate individual religious beliefs and practices whenever possible while retaining course student learning outcomes. It is your responsibility to meet with the class instructor in advance to request arrangements related to your religious observances that may conflict with this class, and to make appropriate plans to make up any missed work.
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 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@cb80f21 (2020-10-12).