CMPUT 466/566 (Fall 2024) Syllabus Machine Learning Essentials

Hello, if you have any need, please feel free to consult us, this is my wechat: wx91due

CMPUT 466/566 (Fall 2024) Syllabus
Machine Learning Essentials

Instructor: Lili Mou
Course webpage: eClass
Course email: [email protected]
Suggestions for contacting the instructor and TAs
  • For course logistics and contents, please use the eClass forum. Your questions will help other students too.
  • For emergencies, please send an email to both [email protected] and the above course email (monitored by both TA and the instructor). This ensures you get the most prompt and authentic replies.
  • Due to the tons of emails received, non-emergency email will have low priority, and is expected to have a delay of several days to weeks.
Course Format: The course is offered in person only. When the IT infrastructure allows, the lectures will be broadcasted and recorded. However, the instructor cannot guarantee that IT will work well, in which case pre-recorded videos will be released as a replacement. Exams will be based on in-person lectures.

Lecture time and classroom:

T, Th 12:30PM - 1:50PM, Sep 3 - Dec 9
CCIS L1-160
● No course activities during the reading week

Online lecture hall: https://meet.google.com/vqo-vkxv-osy

Dial-in: (US) +1 337-573-0059 PIN: 584 572 100#
Lab session (in-person only): Monday 5–7:50PM
  • 5-6PM: TA’s office hours (CCIS 1-160CCIS L1-140)
  • 6-7:50PM: Unattended. TAs will open appointment slots for QA.Instructor/TA office hours:
With whom
Email
Open door
By appointment
Lili Mou (instructor)
lmou
Thursday,

3-4PM

ATH4-08

as appropriate
Zijun Wu
zijun4

Monday, 5-6PM

CCIS1-160

Tue (2-2:30 PM)

In-person: CSC3-26

Online: meeting link

Nicolas Rebstock
nrebstoc

Thu (3-3:30 PM)

In-person: CSC3-26

Online: meeting link

Haruto Tanaka
haruto

Thu (10-10:30 AM)

Online: meeting link

Yu Wang
yu35

Mon (9-9:30 AM)

Online: meeting link

Tian Tian
ttian

Tue (2:50-3:20 PM)

Online:meeting link


  • Office hours start from the second week. No office hours on statutory holidays and during the reading week.
  • If a student wishes to make an appointment with a TA (10min each slot), they will send an email to the TA before the date.
  • Office hour schedule may be changed depending on the need.


Students are encouraged to reach out to the instructor if TAs’ answer is not satisfactory.
Notes:
The instructor and TAs will not answer assignment-related questions before the solution is released.

COURSE CONTENT

Course Description:

Machine learning teaches a machine to learn from previous experience and makes a prediction for (possibly new) data. This course covers standard materials of a “Machine Learning” course, such as linear regression, linear classification, as well as non-linear models. In the process, we will have a systematic discussion on issues such as training criteria, inference criteria, bias-variance tradeoff, etc. The goal of the course is to build a solid foundation of machine learning; so there would be intensive math derivations in lectures, assignments, and exams.

Course Prerequisites:

Please fulfill the departmental requirements.

The department asks instructors normally not to waive prerequisites.

Course Objectives and Expected Learning Outcomes:

By the end of this course, the student will understand the foundations of machine learning and gain experience in machine learning applications.

Official textbook: Bishop, Pattern Recognition and Machine Learning.

The instructor will provide lecture notes, which may also suffice. If not, please use the above text book. [survey on textbooks]

References: link

Tentative topic list:

Linear regression
  • Mean squared error (as heuristics)
  • Closed-form solution
  • Gradient descent
  • Maximum likelihood estimation
  • Maximum a posteriori training
  • Bias-variance tradeoff
  • Train-validation-test framework
Linear classification
  • Discriminative model: Logistic regression
  • Multi-class softmax
  • Maximum a posteriori inference
  • Generative model: Naïve Bayes
  • Discriminant model: Linear SVM (bonus lecture)
Nonlinear models
  • Neural networks
  • Kernels methods: Non-linear SVMs (bonus lecture)

Note: The actual lecture pace may vary depending on students’ background and interest. Exams will be based on main lectures only. Bonus lectures are not required.

LEARNING RESOURCES

Academic Success Centre:

The Academic Success Centre provides professional academic support to help students strengthen their academic skills and achieve their academic goals. Individual advising, appointments, and group workshops are available year round in the areas of Accessibility, Communication, Learning, and Writing Resources. Modest fees apply for some services.

Faculty of Science Student Services:

The Faculty of Science Student Services office is located on the main floor of the Centennial Centre for Interdisciplinary Sciences (CCIS). This office can assist with the planning of Your Academics, and provide information related to Student Life & Engagement, Internship & Careers, and Study Abroad opportunities. Please visit Advising for more information about what Faculty Academic Advisors in the Student Services Office can assist you with.

GRADE EVALUATION

Assessment
466 undergraduate students 566 graduate students
Weekly written assignments
15
10
Two coding assignments
10
10
Mini-project
10 + 5 bonus
15
Mid-term exam (Nov 7, lecture time)
30
30
Final exam (to be announced by registrars)
35
35
Bonus for earnest efforts towards course objectives and expected learning outcomes
5
5
Attendance Bonus
Up to 5
Up to 5

Students must verify this date on BearTracks when the Final Exam Schedule is posted.

Grades are unofficial until approved by the Department and/or Faculty offering the course.

Explanation:
  • Written assignments will be graded in a (mostly) binary fashion. Students expect to get full marks if they make a serious attempt before the deadline. However, students should be very serious about written assignments for their own sake because they may be much reflected in mid-term and final exams. The overall written assignment mark will be the weighted average by the number of problems.
  • Coding assignments involve implementations of basic machine learning models, such as linear regression and logistic regression. Students are encouraged to use Python but may use other programming languages as they wish (with access to basic algebra libraries). However, they must implement the algorithm in question, and cannot use API calls to the core algorithms. Details will be posted when the assignment is available. The overall coding assignment marks will be an average of the two assignments.
  • Mini-project: A student is expected to apply a few machine learning models to a certain task and make experimental comparisons. 10 marks for accomplishing this basic task, and another 5 marks for non-triviality. For undergrads, the 5 non-triviality marks are the bonus. Details are in a separate doc.
No collaboration is allowed for a basic mini-project (or any assignment). For a non-trivial project, collaboration may be allowed up to 3 students. In this case, the students have to form a group themselves and apply in the notice of intent (NOI). Each of the team members MUST have substantial and similar previous machine learning background. The team approval will be based on students’ previous experience and the intended topic.
  • Mid-term exam and final exam are closed-book. While the instructor will give enough hints and background knowledge, students cannot prepare their own cheatsheet. This is because the exam questions will largely overlap with lecture materials. Allowing a cheatsheet doesn’t make much sense for such easy exams. No calculator is allowed either, as we do not have calculation questions.

The mid-term exam is optional. When the letter grade is computed, mid-term marks =max{mid-term percentage, final percentage} * 30

Exams are in-person. In exceptional circumstances, the instructor may approve remote exams (video/audio on, screen-sharing).

    • Reasonable accommodations include: being sick, being in quarantine, attending academic conferences, remote attendance as a non-UofA student
    • Pre-disapproved excuses: feel lazy, want to cheat at home, personal vacation plan, etc.
    • If a student sees a need for remote exams, please discuss with the instructor as soon as possible. Please do not arrange your travel plan until you are approved by the instructor.

[Example exam conduct]

  • Bonus for earnest efforts towards course objectives and expected learning outcomes: Students should make earnest efforts towards the assessments that are linked with course objectives and expected learning outcomes.

When students make unscrupulous efforts to gain marks, it will hurt the course objectives and expected learning outcomes.

A student may get up to 5 bonus marks based on the instructor’s discretion. Not earnest efforts include
- Submitting late assignments
- Arguing marks and grades without a scientific reason
- with a scientific reason is okay
- Violating exam policies (e.g., solving problems before the exam starts or failure to stop writing by the end of the exam)
The bonus for earnest efforts towards course objectives and expected learning outcomes will be applied by the end of the course.
  • Attendance Bonus: In addition to the syllabus bonus, a student (either undergrad or grad) gets a bonus if, for a mathematical/scientific error in the instructor’s derivation during live lectures, the student is the first to point it out in person. This excludes typos, grammatical errors, brevity, and other minor issues at the discretion of the instructor. Lecture notes, videos, assignments, and slides do not count.

The bonus marks are calculated based on the following schedule: 2, 1, 1, 0.5, 0.25, 0.125, etc.

If the instructor grants bonus marks, the student should send a request to the course email to claim the bonus points. The bonus mark request must be sent on the same day when the bonus mark is earned, because the instructor may not remember the details of past lectures.

Statement of Expectations for AI Use:
AI tools, including but not restricted to generative models and online translation models, are not allowed.

Note: AI-flavored writing demonstrates poor presentation skills. For example, the text is oftentimes grandiose but empty. This will result in a devastatingly low mark (including a mark of 0) by merit, regardless of whether there is proof of using AI tools.

Statement of Confidentiality: All course materials, and their direct derivatives (e.g., assignment solutions), are confidential. Students should not publish or share the lectures, notes, assignments, solutions, and exams of the course.

  • In particular, a student should keep their solution in their own custody and should not share them with others or through the Internet.
  • If a student violates the confidentiality requirement, the student is liable for Misuse of University Academic Materials or Other Assets (SAIP Appendix A, 7a).
  • If a student does not keep their solution in custody and the solution is plagiarized by other people, then the student is further liable for the indirect assistance condition of Unauthorised Collaboration (SAIP Appendix A, 4c).
Re-evaluation of Term Work:
  • No re-evaluation of written assignments, coding assignments, or the mini-project.
  • Mid-term mark percentage will be overridden by the final mark percentage, if the latter is higher. However, if a FoS orders a mark deduction or 0 marks on the mid-term, then the mark will not be overridden by the final.
Re-examination:
A student who writes the final examination and fails the course may apply for a re-examination. Re-examinations are rarely granted in the Faculty of Science. Re-examinations are governed by university-wide Academic Regulations and Faculty of Science Academic Regulations.

Misrepresentation of Facts to gain a re-examination is a serious breach of the Student Academic Integrity Policy.

Past or Representative Evaluative Material: ML

Letter grade:

The final letter grade will be given by some cut-off based on numerical marks. Assuming a student does reasonably well in all assignments and the course project, then the letter grades roughly maps to the following criteria:
A+ = The student well understands lecture materials and can generalize well to new problems

A = The student well understands lecture materials and can generalize to certain new problems

A- = The student well understands lecture materials but is unable to generalize to new problems

B+ = The student understands most part of the lecture materials, but a few details are missing

B = The student understands some part of the lecture materials, but several parts are missing

B- = The student understands some part of the lecture materials, but a significant portion is missing

C-level or lower: The student performs worse

Letter grade cutoffs may be different for undergrads and undergrads, because they are two courses.

In the past, the instructor typically sent out 30-40% A or A+. Please disregard eClass course total, as it is not correctly set up. We will calculate course total marks on a spreadsheet strictly following the syllabus.

POLICIES FOR LATE AND MISSED WORK

Late Policies:

Written assignments. Every submission is due in Edmonton time, but is granted a two-day free extension. The student should have finished and submitted the solution by the (first) deadline. The free extension is intended to resolve all issues, including the confusion of time zones, temporary computer/internet/power failure, and any other personal emergencies from the student. Further extensions will not be granted. Inquiring or submitting assignments after the second deadline is considered unscrupulous efforts towards learning objectives and expected course outcomes. 

In addition to free extensions, we automatically approve an excused absence (EA) if a student applies before the (first) deadline to the course email. No explanation is needed.

  • Once EA is applied, the mark percentage will be overridden by the final exam. In eClass gradebook, we will annotate it with a funny number, e.g., 99999, and manually correct it when calculating the final mark.
  • If a student applies for an EA, we will not mark the submission even if the student submits his/her solution later on.
  • If a student does not apply EA before the (first) deadline, EA will not be granted. Nor will we accept assignments later than the second deadline. Unwellness, computer/power/Internet failures are all invalid EA excuses after the (first) deadline. Inquiring or applying for EA after the first deadline is considered unscrupulous efforts towards learning objectives and expected course outcomes
  • The only exception for EA after the (first) deadline is immobility, such as being in hospital, being detained, isolation/quarantine without computer/internet access, and diagnosed mental diseases. This will be approved at the discretion of the instructor with satisfactory evidence.
Requesting marking of late assignments and applying EA after the (first) deadline are considered as getting undeserved credit, as it is unfair to other students who follow the syllabus. Therefore, late submissions will not be marked but may result in losing thebonus marks for earnest efforts towards course objectives and expected learning outcomes.

Coding assignments. Coding assignments will be given enough time and the deadline will be extended as well. However, coding assignments cannot be EA’ed, because the exam does not test coding aspects. Failure to submit the coding assignment solution to eClass means a mark of zero for the coding assignment.

Inquiring or submitting assignments after the second deadline reflects unscrupulous efforts towards course objectives and expected learning outcomes.

Mid-term exam is optional, because the mid-term will be lifted up to the mark percentage of the final.

Please note that EA’ing everything to the final exam is unwise, because FoS will only approve deferred final exams (see below) when a significant amount of coursework is done. A denial of the deferred final means the EA’ed marks are 0.

Missed Term Work or Final Exam Due to Non-medical Protected Grounds (e.g., religious beliefs):

When a term assessment or final exam presents a conflict based on non-medical protected grounds, students must apply to the Academic Success Centre for accommodations via their Register for Accommodations website. Students can review their eligibility and choose the application process specific for Accommodations Based on Non-medical Protected Grounds.

It is imperative that students review the dates of all course assessments upon receipt of the course syllabus, and apply AS SOON AS POSSIBLE to ensure the timely application of the accommodation. Students who apply later in the term may experience unavoidable delays in the processing of the application, which can affect the accommodation.

Deferred Final Examination:

A student who cannot write the final examination due to incapacitating illness, severe domestic affliction or other compelling reasons can apply for a deferred final examination. Such an application must be made to the student’s Faculty office within two working days of the missed examination and must be supported by appropriate documentation or a Statutory Declaration (see calendar on Attendance). Deferred examinations are a privilege and not a right; there is no guarantee that a deferred examination will be granted. The Faculty may deny deferral requests in cases where less than 50% of term work has been completed. Misrepresentation of facts to gain a deferred examination is a serious breach of the Student Academic Integrity Policy.

STUDENT RESPONSIBILITIES

Academic Integrity and Student Conduct:
The University of Alberta is committed to the highest standards of academic integrity and honesty, as well as maintaining a learning environment that fosters the safety, security, and the inherent dignity of each member of the community, ensuring students conduct themselves accordingly. Students are expected to be familiar with the standards of academic honesty and appropriate student conduct, and to uphold the policies of the University in this respect.

Students are particularly urged to familiarize themselves with the provisions of the Student Academic Integrity Policy and the Student Conduct Policy, and avoid any behaviour that could potentially result in suspicions of academic misconduct (e.g., cheating, plagiarism, misrepresentation of facts, participation in an offence) and non-academic misconduct (e.g., discrimination, harassment, physical assault). Academic and non-academic misconduct are taken very seriously and can result in suspension or expulsion from the University.

All students are expected to consult the Academic Integrity website for clarification on the various academic offences. All forms of academic dishonesty are unacceptable at the University. Unfamiliarity of the rules, procrastination or personal pressures are not acceptable excuses for committing an offence. Listen to your instructor, be a good person, ask for help when you need it, and do your own work -- this will lead you toward a path to success. Any academic integrity concern in this course will be reported to the College of Natural and Applied Sciences. Suspected cases of non-academic misconduct will be reported to the Dean of Students. The College, the Faculty, and the Dean of Students are committed to student rights and responsibilities, and adhere to due process and administrative fairness, as outlined in the Student Academic Integrity Policy and the Student Conduct Policy. Please refer to the policy websites for details on inappropriate behaviours and possible sanctions.

The College of Natural and Applied Sciences (CNAS) has created an Academic Integrity for CNAS Students eClass site. Students can self enroll and review the various resources provided, including the importance of academic integrity, examples of academic misconduct & possible sanctions, and the academic misconduct & appeal process. They can also complete assessments to test their knowledge and earn a completion certificate.

"Integrity is doing the right thing, even when no one is watching." -- C.S. Lewis

Appropriate Collaboration:

No collaboration is allowed for assignments (coding and written). Students cannot seek substantial help for the assignments from other people, tutoring services, or online tools (including AI tools).

Collaboration for projects is subject to the instructor’s approval, and such applications must be addressed in notice of intent (NOI) before the NOI deadline.

Exam Conduct:

  • Both exams are closed-book, closed-computer. No cheatsheet or calculator is allowed.
  • Photo I.D. is required at exams to verify your identity.
  • Exams should be done in-person. In extreme circumstances, the instructor may approve remote closed-book exams. However, this is intended for special cases, such as being sick, being in quarantine, and attending academic conferences. Please do not make any travel arrangements before getting approved from the instructor. The following reasons are pre-denied for remote exams: feeling cold in winter, wanting to cheat at home, personal vacation plans, etc. [Example exam conduct]
Cell Phones:
Cell phones are to be turned off during lectures, labs and seminars.

Students Eligible for Accessibility-Related Accommodations:

In accordance with the University of Alberta’s Discrimination, Harassment,and Duty to Accommodate policy, accommodation support is available to eligible students who encounter limitations or restrictions to their ability to perform the daily activities necessary to pursue studies at a post-secondary level due to medical conditions and/or non-medical protected grounds. Accommodations are coordinated through the Academic Success Centre, and students can learn more about eligibility on the Register for Accommodations website.

It is recommended that students apply AS SOON AS POSSIBLE in order to ensure sufficient time to complete accommodation registration and coordination. Students are advised to review and adhere to published deadlines for accommodation approval and for specific accommodation requests (e.g., exam registration submission deadlines). Students who request accommodations less than a month in advance of the academic term for which they require accommodations may experience unavoidable delays or consequences in their academic programs, and may need to consider alternative academic schedules.

Recording and/or Distribution of Course Materials:Audio or video recording, digital or otherwise, of lectures, labs, seminars or any other teaching environment by students is allowed only with the prior written consent of the instructor or as a part of an approved accommodation plan. Student or instructor content, digital or otherwise, created and/or used within the context of the course is to be used solely for personal study, and is not to be used or distributed for any other purpose without prior written consent from the content author(s).

Learning and Working Environment:

The Faculty of Science is committed to ensuring that all students, faculty and staff are able to work and study in an environment that is safe and free from discrimination, harassment, and violence of any kind. It does not tolerate behaviour that undermines that environment. This includes virtual environments and platforms.

If you are experiencing harassment, discrimination, fraud, theft or any other issue and would like to get confidential advice, please contact any of these campus services:

  • Office of Safe Disclosure & Human Rights: A safe, neutral and confidential space to disclose concerns about how the University of Alberta policies, procedures or ethicalstandards are being applied. They provide strategic advice and referral on matters such as discrimination, harassment, duty to accommodate and wrong-doings. Disclosures can be made in person or online using the Online Reporting Tool.
  • University of Alberta Protective Services: Peace officers dedicated to ensuring the safety and security of U of A campuses and community. Staff or students can contact UAPS to make a report if they feel unsafe, threatened, or targeted on campus or by another member of the university community.
  • Office of the Student Ombuds: A confidential and free service that strives to ensure that university processes related to students operate as fairly as possible. They offer information, advice, and support to students, faculty, and staff as they deal with academic, discipline, interpersonal, and financial issues related to student programs.
  • Office of the Dean of Students: They can assist students in navigating services to ensure they receive appropriate and timely resources. For students who are unsure of the support they may need, are concerned about how to access services on campus, or feel like they may need interim support while you wait to access a service, the Dean of Students office is here to help.
Feeling Stressed, Anxious, or Upset?

It's normal for us to have different mental health experiences throughout the year. Know that there are people who want to help. You can reach out to your friends and access a variety of supports available on and off campus at the Need Help Now webpage or by calling the 24-hour

Distress Line: 780-482-4357 (HELP).

Student Self-Care Guide:

This Self-Care Guide, originally designed by the Faculty of Native Studies, has broader application for use during students’ learning. It provides some ideas and strategies to consider that can help navigate emotionally challenging or triggering material.

Policy about course outlines can be found in Course Requirements, Evaluations Procedures and Grading of the University Calendar.

Land Acknowledgement:

The University of Alberta respectfully acknowledges that we are situated on Treaty 6 territory, traditional lands of First Nations and Métis people.

To learn more about the significance of this land acknowledgement, please read this useful article and associated links to more information.

Disclaimer:
Any typographical errors in this Course Outline are subject to change and will be announced in class. The date of the final examination is set by the Registrar and takes precedence over the final examination date reported in this syllabus.
Copyright:
Dr. Lili Mou, Department of Computing Science, Faculty of Science, University of Alberta (2024).

发表评论

电子邮件地址不会被公开。 必填项已用*标注