CS540: Introduction to Artificial Intelligence

CS540, Fall 2022
Department of Computer Sciences
University of Wisconsin–Madison

Course Information

Course learning outcomes: Students learn fundamental principles of different areas of artificial intelligence, including knowledge-based search techniques; automatic deduction, knowledge representation using predicate logic, machine learning, probabilistic reasoning. Students develop applications in tasks such as problem solving, data mining, game playing, natural language understanding, and robotics.

Number of credits: 3

How credit hours are met by the course: This class meets for two 75-minute class periods each week over the semester and carries the expectation that students will work on course learning activities (reading, writing, problem sets, studying, etc) for about 3 hours out of classroom for every class period. The syllabus includes more information about meeting times and expectations for student work.

Prerequisite: (COMP SCI 300 or 367) and (MATH 211, 217, 221, or 275) or graduate/professional standing or declared in the Capstone Certificate in Computer Sciences for Professionals.

Time & Location:
      Section 1: Tuesdays & Thursdays 2:30PM - 3:45PM, 1100 Grainger Hall
      Section 2: Tuesdays & Thursdays 1:00PM - 2:15PM, 1520 Microbial Sciences
      Section 3: Tuesdays & Thursdays 4:00PM - 5:15PM, S413 Chemistry Building

Class Links:
      Piazza: For asynchronous questions and discussions with both classmates and course staff
      Canvas: For assignment submissions and class announcements

Textbook: Artificial Intelligence: A Modern Approach (4th edition). Stuart Russell and Peter Norvig. Pearson, 2020. ISBN 978-0134610993. (textbook is optional, but may be useful)

Course Objectives

  • Understand and be able to apply the foundational tools in Machine Learning and Artificial Intelligence: Linear algebra, Probability, Logic, and elements of Statistics.
  • Understand core techniques in Natural Language Processing (NLP), including bag-of-words, tf-idf, n-Gram Models, and Smoothing.
  • Understand the basics of Machine Learning. Identify and summarize important features in supervised learning and unsupervised learning.
  • Distinguish between regression and classification, and understand basic algorithms: Linear Regression, k-Nearest Neighbors, and Naive Bayes.
  • Understand the basics of Neural Networks: Network Architecture, Training, Backpropagation, Stochastic Gradient Descent.
  • Learn aspects of Deep Learning, including network architectures, convolution, training techniques.
  • Understand the fundamentals of Game Theory.
  • Understand how to formulate and solve several types of Search problems.
  • Understand basic elements of Reinforcement Learning.
  • Consider how Artificial Intelligence and Machine Learning problems are applied in Real - World settings and the Ethics of Artificial Intelligence.

Lecture Delivery

In the regular lecture time on Tuesdays and Thursdays, we will have in-person classes, during which the instructors will lecture, the class will enagage in Q&A, quizzes, and discussions. We will also use Piazza for asynchronous discussions.

During lecture hours: Each lecture will be a series of short mini-lectures. The lecture will be divided into three blocks. In each block, the instructor will lecture, pause for interactive Q&A, and deliver short quiz questions to clear up any confusion before proceeding to the next block.


The following weights are used:

  • Midterm Exam: 15%
  • Final Exam: 15%
  • Homework Assignments: 70%

At the end of the semester, the final letter grades are given based on an approximate curve. The weights placed on the assignments will be strictly enforced.

The final letter grade will be assigned based on the percentile of the averaged points in the class:

  • A: Top 15-25% of course grades
  • AB: next 15-25%
  • B: next 0-20%
  • BC: next 0-20%
  • C: next 0-20%
  • D/F: 0-5%

As student performance may vary from semester to semester, the instructors reserve the right to adjust this distribution. McBurney Center students should contact the instructors to specify any special requests for the exams or homework assignments together with the supporting documentation provided by the McBurney Center. We will do our best to accommodate the requests.

Homework Policies

Homework assignments include written problems and programming (in Python). Frequently-asked questions (FAQs) on homework assignments will be posted on Piazza. Homework will be posted on Canvas with the exact deadline. Late submissions will not be accepted. Assignment grading questions must be raised with the TAs within 72 hours after it is returned. Note that a regrading request for a part of a homework question may trigger the grader to regrade the entire homework and could potentially take points off. Regrading will be done on the original submitted work, no changes allowed.

TWO lowest homework scores are dropped from the final homework average calculation. This drop is meant for emergency usage. Additional drops, late days, or homework extensions will not be provided. We encourage you to use a study group for doing your homework. Students are expected to help each other out, and if desired, form ad-hoc homework groups. However, each student must produce and turn in their own, unique work.

We encourage you to use a study group for doing your homework. Students are expected to help each other out, and if desired, form ad-hoc homework groups.

Campus Spaces for Virtual Learning & Testing: Dedicated on-campus spaces with high-speed internet are available for students to reserve for any exam/quiz taken during the semester. Computers can also be requested.


There will be a midterm exam and a final exam. All exams will be conducted online through Canvas. Makeup exams will not be scheduled. Please plan for exams at these times and let us know about any exam conflicts during the first two weeks of the semester. If an emergency arises that conflicts with the exam times, email us as soon as possible. Emergency exam conflicts will be handled on a case-by-case basis.

Exam grading questions must be raised with the instructor within 72 hours after it is returned. If a regrade request is submitted for a part of a question on the exam, the grader reserves the right to regrade the entire exam and could potentially take points off.

  • Midterm : TBD

  • Final : 17 December, 7:25 PM - 9:25 PM (Tentative)

Office Hours

Instructors / TAs / peer mentors will hold weekly office hours.