CIS 419/519 Applied Machine Learning

Spring 2020, University of Pennsylvania

Instructors:  Eric Eaton, Ph.D. (section 401) and Dinesh Jayaraman, Ph.D. (Section 402)



Syllabus and Schedule

This is a tentative syllabus and schedule.  Topics, reading assignments, due dates, and exam dates are subject to change.
All assignments and projects are due by 11:59:59pm Eastern time on the day listed.


Recordings of the lectures are available online via Canvas.




Course Staff

INSTRUCTORS

For any course-related matters (including questions about material, grades, logistics, etc.), please send your question via Piazza in a private post to all Instructors (which will reach the TAs as well).  This makes it MUCH easier to ensure that we respond to all course-related questions quickly.  However, if you have something of a more personal nature, you can send the professors a private message on Piazza.  We make a concerted effort to respond to all messages within 24 hours on weekdays and 48 hours on weekends (often, much less!).  You're also welcome to stop by our office hours anytime to talk about the course or anything else that interests you. No appointment is needed for office hours.

Students from all sections are welcome at all instructors' office hours.

Photo of Eric Eaton

Eric Eaton, Ph.D.

Contact Information: All communication about the course should be posted to Piazza.

Office Hours: Mondays 3-4pm, Wednesdays 12:30-1:20pm, and by appointment
Office:  Levine 464

Photo of Dinesh Jayaraman

Dinesh Jayaraman, Ph.D.

Contact Information: All communication about the course should be posted to Piazza.

Office Hours: Tuesdays/Thursdays 2-3pm, and by appointment
Office:  Levine 460


Teaching Assistants (TBA)






Course Information

Course Description

Machine learning has been essential to the success of many recent technologies, including autonomous vehicles, search engines, genomics, automated medical diagnosis, image recognition, and social network analysis, among many others. This course will introduce the fundamental concepts and algorithms that enable computers to learn from experience, with an emphasis on their practical application to real problems.  This course will introduce supervised learning (decision trees, logistic regression, support vector machines, Bayesian methods, neural networks and deep learning), unsupervised learning (clustering, dimensionality reduction), and reinforcement learning.  Additionally, the course will discuss evaluation methodology and recent applications of machine learning, including large scale learning for big data and network analysis.

Prerequisites: CIS121 or equivalent programming experience

Course Website: http://www.seas.upenn.edu/~cis519/spring2020/

Time:  Monday/Wednesday, 1:30 to 3:00 pm
Locations:  Towne 100 (Section 401) and Towne 309 (Section 402)


Comparison to CIS 520 (Machine Learning)

Due to overwhelming demand, Penn is offering two different machine learning courses:  CIS 419/519 (Applied Machine Learning) and CIS 520 (Machine Learning).  This section briefly describes the differences between these courses.

CIS 419/519 Applied Machine Learning (this course!) is an introductory-level course in machine learning (ML) with an emphasis on applying ML techniques. The course is cross-listed between undergraduate (419) and graduate (519) versions; the graduate course 519 has somewhat different requirements as described below.  CIS 419/519 is intended for students who are interested in the practical application of existing machine learning methods to real problems, rather than in the statistical foundations and theory of ML covered in CIS 520.  Just because it is listed as "introductory" does not necessarily mean that it is "easier".

CIS 520 Machine Learning is a more mathematically rigorous course in statistical machine learning that provides the background necessary to design and use new ML algorithms.  Consequently, CIS 520 requires students to have basic knowledge of linear algebra (matrices, eigenvectors, etc.) It uses Matlab and is said to require a lot of work, but prepares students to conduct ML research.
 
CIS 519 is NOT a prerequisite for CIS 520.  However, it makes little sense to take CIS 519 after having already taken CIS 520.  You certainly may take CIS 419/519 first and then later take CIS 520.

Essentially, you should take CIS 419/519 if:

And, you should take CIS 520 if you're confident in your mathematical background and:


Additional Requirements for CIS 519

Students registered for the graduate version of this course (CIS 519) will be required to complete additional work throughout the semester.  This work will include additional components to the homework, additional requirements on the course project, and (possibly) different or additional exam questions.

Since the two versions have different requirements, you cannot complete the course as CIS 419 and later petition to have it changed to CIS 519 for graduate credit; if you're considering changing this course to CIS 519 for graduate credit, you should register for the graduate version now.



Text & Software

Textbooks

Picture of course reading
              packet

CIS 419/519 Course Reading Packet

This is a collection of readings that will be used throughout the course. There is NOT a single reading packet you need to obtain -- readings will be distributed incrementally throughout the semester, either in hard-copy or posted online throughout the course.


cover of Flach textbook

OPTIONAL:
Machine Learning: The Art and Science of Algorithms That Make Sense of Data by Peter Flach
Cambridge University Press

cover of Geron
              textbook
OPTIONAL:
Hands-On Machine Learning with Scikit-Learn and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems
by Aurélien Géron. 1st Edition, O'Reilly Media, 2017

Throughout the course, you may find it useful to consult the following resources:

For a more advanced treatment of machine learning topics, I would recommend one of the following books:

Software



Course Policies

Communication

Attendance and active participation are expected in every class. Participation includes asking questions, contributing answers, proposing ideas, and providing constructive comments.

As you will discover, I am a proponent of two-way communication and I welcome feedback during the semester about the course. I am available to answer student questions, listen to concerns, and talk about any course-related topic (or otherwise!). Come to office hours! This helps me get to know you. You are welcome to stop by and chat. There are many more exciting topics to talk about that we won't have time to cover in-class.

Please send all course communications through Piazza.  Your post should be public for general questions, private to all instructors (which includes the TAs) for any student-specific issues (e.g., grading, etc.), and private to Dr. Eaton for extremely personal matters.

Although computer science work can be intense and solitary, please stay in touch with me and the TAs, particularly if you feel stuck on a topic or project and can't figure out how to proceed. Often a quick face-to-face conference or Piazza post can reveal solutions to problems and generate renewed creative and scholarly energy. It is essential that you begin assignments and projects early, since we will be covering a variety of challenging topics in this course.


Piazza logoWe will be using Piazza as the course message board.  We also make course-wide announcements through Piazza, be sure to sign up for it.  You are responsible for the content of all announcements on Piazza.


Grading

Your grade will be based upon eight homework assignments, quizzes, a final exam, and a course project.  Assignments must be submitted according to the assignment submission instructions.

At the end of the semester, final grades will be calculated as a weighted average of all grades according to the following weights:

Homework 0:
3%
Homeworks 1-7:
42% (6% each)
Quizzes:
10%
Final Exam:
25%
Project:
20%
Total: 100%

The project grade will be broken down further in the Project Description.

Incomplete grades will be given only for verifiable medical illness or other such dire circumstances.

All graded work will receive a percentage grade between 0% and 100%.  Here is how the percentage grades will map to final letter grades; percentages are not rounded:

Percentage
Letter grade

Percentage Letter grade
97% <=
A+ (4.0)
77% <= C+ (2.3)
93% <= A (4.0) 73% <= C (2.0)
90% <= A- (3.7) 70% <= C- (1.7)
87% <= B+ (3.3) 67% <= D+ (1.3)
83% <= B (3.0) 60% <= D (1.0)
80% <= B- (2.7) < 60%
F (0.0)

The instructor reserves the right to adjust the percentage ranges for each letter grade upward in your favor.


Academic Integrity

All work in this course is subject to the University's Academic Integrity policy.  Violations of the academic integrity policy or the course collaboration policy will incur consequences according to university regulations.  Penalties for academic dishonesty may lower the final grade in the course.  If one student shares code with another on a different team, both the donor and the recipient of the code are in violation of the academic integrity policy and will be referred to the Office of Student Conduct.

If required by any assignment, you must list all people you worked with or consulted, and all resources you consulted (excluding the course textbooks and notes) during the completion of the assignment.


Submission and Late Policy

All work must be turned in either in hard-copy or electronic submission, depending on the instructions given in the assignment.  E-mailed submissions or privately Piazza-posted submissions will not be accepted.  Extensions will be given only in the case of verifiable medical excuses or other such dire circumstances, if requested in advance.

Late submissions will receive a penalty of 15% for every 0-24 hours it is past the due date and time (e.g., assignments turned in 25 hrs late will receive a penalty of 30%).  Submissions received more than 72 hours late will not be accepted. 

Everyone will receive four free late days for use on the homeworks.  It is up to you to track how many late days you've used and mark your count at the top of each homework submission.  (For example, if you turn in one assignment 3 hours late, you would write at the top "Turning in 3 hours late, using 1 out of 4 late days.")  Late days cannot be used on quizzes, exams, any component of the project or any in-class presentation/event that affects other students. 

Late days are being granted in lieu of extensions, and are intended to cover issues such as illness, etc.  We won't be granting extensions except for the most dire of reasons (hospitalization, death in the family, etc.), so my suggestion is that you reserve your late days for unexpected circumstances.


Exams

There will be one final exam in this course.  The exam will be closed-book and closed-notes.  It will cover material from lectures, homeworks, and assigned readings (including topics not discussed in class).  So, keep up with those readings!


Collaboration Policy

I want to encourage you to discuss the material and work together to understand it. Here are my thoughts on collaborating with other students:

If you have any questions as to what types of collaborations are allowed and which are dishonest, please ask me before you make a mistake.


Electronic Devices

I have no problem with you using computers or tablets to take notes or consult reference materials during class (even though, some research questions the benefit of this) .  Tempting though it may be, please do not check e-mail or visit websites that are not relevant to the course during class.  It is a distraction, both for you and (more importantly) for your fellow classmates.  Please silence your phones and computers when you enter class.


Reference Links

Useful references will be posted here throughout the semester.

Article by David Mimno on Data Pre-Processing


LaTeX Resources: