CSE 005 - Principles and Practice of AI - Villegas Molina [FA26]

CSE 5 - Principles and Practice of AI [Villegas Molina - FA26]

Course Website: https://sites.google.com/ucsd.edu/cse5fall2026/home 

New Course Note

This is the second offering of this course. Much of the material will be directly or adapted from the initial offering of this course. Some aspects of the course structure, schedule, assignments, and grading details may be adjusted during the quarter as the course is refined. Any changes will be communicated clearly and in advance.

Course Description

Welcome to CSE 5! We are so excited to have you in this course! In this class, our goal is to help you use and (more importantly) understand how artificial intelligence systems work, which have been implemented in LOADS of aspects of our everyday lives. We will show you how at times you're using AI without even knowing, or be able to see how people will say they're using AI, but you'll be able to better distinguish whether it is or not. The course will explore the computational basis of intelligence -- machine learning (ML) and its various approaches. Students will be exposed to building ML models, training and validating them.

Another large aspect of this course is to better critique the use of AI in social, cultural, and ethical senses, to better identify the strengths and limitations of these systems, and to see whether AI could/should be used in specific contexts. In this course you will do assignments and interactive in-class exercises to help you develop a high-level understanding of the AI field! This is not intended for students who plan to study AI, computer science, or data science.

First and Foremost

To succeed in this class, you will need to make sure that you have your needs met! Before any sort of class material is talked about, it is increasingly difficult to succeed in this class (or any course!) without knowing where your next meal is coming from, without the appropriate accommodations, or if you’re feeling that you don’t belong in some way.

Basic Needs & Food Insecurities

If you are experiencing any basic needs insecurities (food, housing, financial resources), there are resources available on campus to help, including The Hub and the Triton Food Pantry.  Please visit https://basicneeds.ucsd.edu/ for more information.

Students with Disabilities

We aim to create an environment in which all students can succeed in this course. If you have a disability, please contact the Office for Students with Disability (OSD), which is located in University Center 202 behind Center Hall, to discuss appropriate accommodations right away. We will work to provide you with the accommodations you need, but you must first provide a current Authorization For Accommodation (AFA) letter issued by the OSD. You are required to present their AFA letters to faculty (please make arrangements to contact your instructor privately) and to the OSD Liaison in the department in advance so that accommodations may be arranged.

Diversity and Inclusion

We are committed to fostering a learning environment for this course that supports a diversity of thoughts, perspectives and experiences, and respects your identities (including race, ethnicity, heritage, gender, sex, class, sexuality, religion, ability, age, educational background, etc.).  Our goal is to create a diverse and inclusive learning environment where all students feel comfortable and can thrive. 

Our instructional staff will make a concerted effort to be welcoming and inclusive to the wide diversity of students in this course.  If there is a way we can make you feel more included please let one of the course staff know, either in person, via email/discussion board, or even in a note under the door.  Our learning about diverse perspectives and identities is an ongoing process, and we welcome your perspectives and input. 

We also expect that you, as a student in this course, will honor and respect your classmates, abiding by the UCSD Principles of Community (https://ucsd.edu/about/principles.html).  Please understand that others’ backgrounds, perspectives and experiences may be different from your own, and help us to build an environment where everyone is respected and feels comfortable.

If you experience any sort of harassment or discrimination, please contact your instructor as soon as possible.   If you prefer to speak with someone outside of the course, please contact the Office of Prevention of Harassment and Discrimination: https://ophd.ucsd.edu/.

Mental Health Services

For students seeking services for mental health issues (including, but not limited to: stress, sleep issues, depression, anxiety, academic distress, relationship issues, etc.), Counseling and Psychological Services (CAPS) provides free, confidential psychological counseling and crisis services for all registered UC San Diego students. CAPS also provides a variety of groups, workshops and drop-in forums.

To contact CAPS, call (858) 534-3755. All students are screened with a brief telephone assessment. For more information, visit the Counseling and Psychological Services website.

Prerequisites

None! CSE 5 is designed for students with no prior programming or artificial intelligence experience. We only expect a willingness to learn!

Key Course Components

Course Staff

Instructor: Ismael Villegas Molina

Instructor Email: isvilleg@ucsd.edu 

Instructor Office Hours:  Tues. & Thurs. 11am - 12pm @ CSE 2216

Teaching Staff

  • [TA] Amisha Prasad
    • Email: amprasad@ucsd.edu 
    • Office Hours
      • Tuesdays (in person @ CSE B215): 10am - 11am
      • Wednesdays (virtual): 2pm - 4pm
  • [Tutor] Adnan Barwaniwala
    • Email: abarwaniwala@ucsd.edu 
    • Office Hours
      • Mondays (virtual): 2pm - 4pm
      • Fridays (in person @ CSE B270A): 3pm - 4pm
  • [Tutor] Nawab Mulla
    • Email: nmulla@ucsd.edu
    • Office Hours
      • Thursdays (hybrid @ CSE B270): 4pm - 7pm

Learning Outcomes

Upon successful completion of this course, students will be able to:

  • Explain the basic concepts behind artificial intelligence and machine learning.
  • Explain the social, ethical, and cultural implications of AI technologies.
  • Analyze AI outputs for potential bias or failure.
  • Design simple activities to test and evaluate AI behavior.
  • Use generative AI tools to support learning and experimentation.
  • Reflect critically on AI's role in society and make informed decisions about its use.

Communication

Emails may be missed - Please use Piazza for all course-related questions/discussions. If needed, you can post a private message to the instructors on Piazza. 

Lectures 

Lectures are on Tuesdays and Thursdays, 2:00 pm to 3:20 pm in CENTR 214

Lectures will be held in-person at the regularly-scheduled time and place. Attendance is required! Lectures are designed to include in-class activities, discussion, and collaborative work, and students who attend in person will get the most out of these experiences. 10% of your grade will be from lecture participation, so attending lectures regularly and engaging with the activities will be key. Lecture participation will be recorded via Google Forms that you will fill out during lecture. You must submit these questions by the end of the lecture. If you are unable to attend a lecture, please make sure to watch the lecture recordings on your own. You will not be able to receive credit for lecture participation through watching lecture recordings, but you can miss up to 4 lectures without any penalty.

Lecture notes and other materials will be posted, and lectures will be podcasted and posted online for remote viewing. Please note, we have requested that podcasting be enabled for the lectures, but we cannot guarantee that it will always work. You will be able to find the lecture recordings at https://podcast.ucsd.edu/.

Textbook and Materials

You will not need to purchase any materials for this course. All required materials will be provided through canvas. These may include activities, notes, readings, references, and videos.

Weekly Topics (This will be updated as the quarter continues)

Week # Lecture Topics
Week 0 24 Sept. 2026 Introduction to AI, perceptions of AI, AI in everyday life
Week 1 29 Sept. 2026 Intelligence, Five Big Ideas of AI, areas of AI
1 Oct. 2026 Areas of AI and the machine learning pipeline
Week 2 6 Oct. 2026 Machine learning pipeline and learning paradigms
8 Oct. 2026 Supervised learning, classification vs regression, Teachable Machine
Week 3 13 Oct. 2026 Model evaluation, accuracy, confusion matrices, precision and recall
15 Oct. 2026 Recommendation systems and social media feeds
Week 4 20 Oct. 2026 Embeddings, semantic similarity, and representation learning
22 Oct. 2026 Reinforcement learning and agent-environment interaction
Week 5 27 Oct. 2026 Language models, probabilities, and text generation
29 Oct. 2026 N-gram models, embeddings, attention, and modern language models
Week 6 3 Nov. 2026 Generative AI overview, stages of training large language models, hallucinations, and trustworthiness
5 Nov. 2026 AI and Learning, Prompting
Week 7 10 Nov. 2026 Grounded AI systems (RAG), NotebookLM, hallucinations, citations, and limitations of RAG systems
12 Nov. 2026 Trust, Citations, and Critical Use of Generative AI
Week 8 17 Nov. 2026 Generative AI for Images and Diffusion Models
19 Nov. 2026 Bias, Fairness, and Societal Impacts of AI
Week 9 24 Nov. 2026 Media Literacy, Synthetic Media, and Deepfakes
26 Nov. 2026 No Class (Holiday)
Week 10 1 Dec. 2026 Neural Networks Overview
3 Dec. 2026 Course Synthesis

Discussion Session Topics

Discussion Topics
Week 1 AI History & Tools Landscape
Week 2 How to write good prompts?
Week 3 Chat Models & Training Techniques
Week 4 Image & Video Generation
Week 5 Vibe Coding
Week 6 Personal Agent / Agentic AI
Week 7 AI in your Field
Week 8 Music Generation (Debate class!)
Week 9 AI Bubble/Dependence (Debate class!)
Week 10 AI Ethics and Use Cases

Assessments

This course includes a mix of activities, quizzes, assignments, presentations, and a final project.

Activities and Participation

A significant portion of this course is based on activities completed during lecture and discussion sections. These activities are designed to reinforce key concepts, encourage exploration of AI tools, and promote discussion and critical thinking.

Activities may include worksheets, group discussions, tool exploration exercises, short written responses, case studies, and occasional student presentations. Most activities are graded for completion and reasonable effort rather than correctness.

Students who are unable to attend a class session may earn activity credit by completing the activity outside of class and submitting it by 11:59 PM on the Sunday following that week's lectures. While activities can be completed outside of class, many are designed for live interaction and discussion and are most valuable when done in person.

Some activity sessions may include short student presentations related to course topics. Presentation days will be announced in advance. Students must be present in person on their scheduled presentation day in order to receive credit for that component of the course.

Quizzes

There will be short online quizzes throughout the quarter that assess understanding of key concepts discussed in class. These quizzes will focus on conceptual understanding of artificial intelligence, generative AI, limitations of AI systems, bias, ethics, and responsible use of AI tools. Quizzes may allow multiple attempts and are intended to reinforce learning rather than act as high-stakes exams.

Take-Home Assignments

There will be several take-home assignments during the quarter. Assignment instructions will specify the submission format, deadlines, and allowed resources.

Final Project

There will be a final project that serves as the final exam for the course. Additional details will be provided later in the course.

Grading

Grade Breakdown

We will use the following tentative grade breakdown:

Grade Breakdown
Assessment Percentage
Attendance 10%
Activities and Participation  35%
Take-Home Assignments 25%
Final Project 20%
Quizzes 10%

Grading Scale

The standard grading scale below is the starting point for the course. After all scores are in, final letter-grade cutoffs may be adjusted slightly downward if appropriate, but cutoffs will never be raised. For example, the A cutoff will never exceed 94%.

Grading Scale
Letter Grade Range
A ≥ 94%
A- ≥ 90% and < 94%
B+ ≥ 87% and < 90%
B ≥ 84% and < 87%
B- ≥ 80% and < 84%
C+ ≥ 77% and < 80%
C ≥ 74% and < 77%
C- ≥ 70% and < 74%
D ≥ 61% and < 70%
F < 61%

Pass/Not Pass for Undergraduate Students: We will follow the university grading system of C- or higher for P/NP grades.

Incomplete Grade: Sometimes, circumstances beyond a student's control prevent them from completing a class even once they have completed the majority of the coursework at a passing level. UCSD has a process in place for you to request an Incomplete (I) if this happens to you. Here is the campus policy about the Incomplete grade and some information about it.

Course Policies

Academic Integrity

In this course we expect students to adhere to the UC San Diego Integrity of Scholarship Policy. This means that you will complete your work honestly, and with integrity, and support an environment of integrity within the class.

Because this course involves the use of AI tools, the goal is not to avoid AI, but to use it responsibly, thoughtfully, and transparently. Many assignments in this course will explicitly involve using AI tools, but you are responsible for the work you submit and should understand and be able to explain your work if asked.

Some examples of how academic integrity applies in this course include:

  • You may use AI tools where allowed or required, but submitted work should reflect your understanding, analysis, and reasoning.
  • You may not submit AI-generated content as your own work without reviewing, modifying, and understanding it.
  • You should be able to explain any work that you submit, including prompts you used and how you used AI tools.
  • Students may not submit the same work as another student unless the assignment is explicitly a group assignment.
  • Students may not post course materials, assignment questions, or solutions to public websites or repositories.

Use of Generative AI Tools

Generative AI tools (such as ChatGPT, Copilot, Gemini, Claude, etc.) are an important part of this course and will be used in some activities and assignments.

You are encouraged to use AI tools to:

  • Explore ideas
  • Brainstorm
  • Learn new concepts
  • Compare explanations
  • Analyze outputs
  • Experiment with prompts
  • Support your learning

However, AI tools should not be used to replace your own thinking. You are responsible for evaluating AI-generated content, checking for errors, understanding the material, and making your own decisions about how to use AI outputs.

In general:

  • You are responsible for any work you submit.
  • You should understand and be able to explain your work.
  • You should critically evaluate AI outputs rather than assuming they are correct.
  • You should use AI tools responsibly and ethically.

Specific guidelines for AI use may be provided for individual assignments.

Outside Tutoring

Individuals are not permitted to approach students to offer services of any kind in exchange for pay, including tutoring services. This is considered a solicitation for business and is strictly prohibited by University policy.

Class material and intellectual property

Our lectures and course materials, including videos, assignments, and similar materials, are protected by U.S. copyright law and by University policy. We are the exclusive owner of the copyright in those materials we create. We acknowledge the cumulative contributions to this course material of previous instructors, TAs, and tutors, as well as contributions to the class structure from colleagues in CSE and at UCSD.

You may take notes and make copies of course materials for your own use. You may also share those materials with another student who is enrolled in or auditing this course. You may not reproduce, distribute or display (post/upload) lecture notes or recordings or course materials in any other way — whether or not a fee is charged — without our express prior written consent. You also may not allow others to do so. If you do so, you may be subject to student conduct proceedings under the UC San Diego Student Code of Conduct.

Similarly, you own the copyright in your original work. If I am interested in posting your answers or papers on the course web site, I will ask for your written permission.

Late Adds

I follow the CSE department guidance on Late Adds, namely that “all students are expected to attend class for the first two weeks and complete assignments if they are on the waitlist for a course. Attending class and completing course assignments does not guarantee enrollment. If students choose to miss class or not turn in assignments while on the waitlist, the student will receive a “0” on all missed assignments, if they secure a seat in the course off the waitlist.”

Getting Help

We expect that all students will need help at some point during the quarter. Many resources are available including TA and instructor office hours, as well as the Piazza discussion board. We also encourage you to form study groups.

The IDEA Engineering Student Center, located just off the lobby of Jacobs Hall, is a hub for student engagement, academic enrichment, personal/professional development, leadership, community involvement, and a respectful learning environment for all. The Center offers a variety of programs, listed on the IDEA Center Facebook page at http://www.facebook.com/ucsdidea (you are welcome to Like this page!) and the Center website at http://idea.ucsd.edu/. The IDEA Center programs support both undergraduate students and graduate students.” The Teaching and Learning Commons continues to offer their full suite of student success programs, including learning strategies coaching.

Course Summary:

Course Summary
Date Details Due