EECE 490 / MECH 534 · EECE 690 / MECH 658

Introduction
and Logistics

Joseph Bakarji · Fall 2026

A Bit About Me

Today's Plan

  • Motivation: why you should (or should not) take this course
  • A brief history of artificial intelligence
  • What this course is about
  • This course as a journey
  • Logistics and course policy

Part I

Motivation

https://suno.com/s/JERJIkqQsrlkEcln https://suno.com/s/BfRShMbJatjgApyv

It Is All \(x \to F \to y\)

Every example so far is the same shape: something goes in, something comes out, and the machine has to find the map between them.

an image \( \xrightarrow{\;F\;} \) "cat"
a sentence in Arabic \( \xrightarrow{\;F\;} \) the same sentence in English
a patient's chart \( \xrightarrow{\;F\;} \) a diagnosis

A Language Model in One Line

A language model is that same map, where the input is the text so far and the output is what comes next.

$$ x_i = F(x_{i-1},\, x_{i-2},\, \dots,\, x_{i-n}) $$
$$ \text{apple} = F(\text{the},\, \text{boy},\, \text{ate},\, \text{an}) $$

Run it, append the word, run it again. Everything else is detail about what \(F\) looks like and how it is fitted.

Artificial Intelligence

Is AI good?
Is AI bad?
Is it neither?

Why Build Intelligent Machines?

What is AI in the first place?

Your life depends on it.

Part II

How Did It All Start?

Text to Video

Two lines of prompt. Fifteen seconds of film.

February 2026 ByteDance releases Seedance 2.0. Within days, a fight scene between Brad Pitt and Tom Cruise is circulating, made by filmmaker Ruairi Robinson from a two-line prompt.
Within a week Cease-and-desist letters from the major studios, condemnation from the Motion Picture Association, and SAG-AFTRA calling it unacceptable. Neither actor agreed to appear in it.
Click to play. Swap the clip by changing data-video on this slide.
Early programmable “robots” for practical applications https://www.nationalgeographic.com/history/history-magazine/article/ismail-al-jazari-muslim-inventor-called-father-robotics بديع الزمان أَبُ اَلْعِزِ إبْنُ إسْماعِيلِ إبْنُ الرِّزاز الجزري 1206 Early programmable “robots” for practical applications
https://towardsdatascience.com/ten-years-of-ai-in-review-85decdb2a540 “By 2013, pretty much all the computer vision research had switched to neural nets” Geoffrey Hinton

What Is Intelligence?

Can we make computers intelligent?

Can we make computers intelligent? What is Intelligence? 1, 2, 4, 8, 16, ? 0, 1, 2, 3, 4, 5 What is Intelligence?

Part II.1

Good Old-Fashioned AI

Artificial Intelligence 1950’s- Solving puzzles Artificial Intelligence 1950’s-
Find optimal search strategies Find optimal search strategies

Overwhelming Optimism

Early machine translation, and what came back:

The spirit is willing but the flesh is weak
(into Russian, and back)
The vodka is good but the meat is rotten

By the end of the 1960s, the optimism had run out.

The mistake They under-estimated the complexity of problems like translation, and assumed most problems reduce to combinatorial puzzles. Are we repeating the same mistake, at a different scale?

Part II.2

Statistical AI

From encoding rules to learning them From encoding rules to learning them

Why the Recent Hype?

1
More data
2
Faster computers
3
Better algorithms

More Data

Global data created, captured and consumed, in zettabytes. Statista

Faster Computers

Transistors per microprocessor, doubling roughly every two years. Our World in Data

And What That Bought

SystemYearTraining compute
Theseus195040 FLOP
Perceptron Mark I1957695,000 FLOP
NetTalk198781 billion FLOP
NPLM20031.1 petaFLOP
AlexNet2012470 petaFLOP
AlphaGo20161.9 million petaFLOP
GPT-32020314 million petaFLOP
Minerva20222.7 billion petaFLOP

One petaFLOP is a quadrillion operations. Sevilla et al., Compute Trends Across Three Eras of Machine Learning, 2022.

Or Just Ask For the Plot

The same numbers, handed to a language model with four words of instruction.

import pandas as pd
import matplotlib.pyplot as plt

df = pd.DataFrame(data)
plt.plot(df["Year"], df["FLOPs"],
         marker="o", color="red")
plt.yscale("log")
plt.show()

It wrote the code, chose a log scale without being asked, and was right to. Knowing why a log scale is the right choice here is still your job.

Part III

What's Machine Learning?

Find a Pattern in the Data

A Lot of It Is Curve Fitting

Find a function \( F \) that maps \( X \) to \( Y \): the same points, now with a line through them.

What Could X and Y Be?

\(X\) \( \xrightarrow{\;\;F\;\;} \) \(Y\)
Examples An image and its label. A sentence and its translation. A patient and a diagnosis.

Sometimes It Is About Clustering

Same points, no labels. The only question is which ones belong together.

Sometimes It Is About Projection

Pick a direction, and squash every point onto it. Drag the handle.

Sometimes It Is About Graphs

A social network is data too: people are nodes, and who follows whom are edges.

Who should this account follow next? Which of these people form a community? Both are questions about the shape of the graph, not about any one person.

A Journey, Not a Course

  • Instead of purely handing you information, I want to reward learning initiative. What we all know will keep changing.
  • You decide the directions your learning takes, through Slack, the course website, and the project. Autonomy and initiative again.
  • You give feedback on the course content, and on where and how you would like it to go. You can improve the slides by adding comments.
  • To make this more of a social learning experience, there is a Slack channel you will be added to, where we hold discussions. It counts towards your participation grade.

The Social Experience

  • By the end, you should know everyone in this room
  • Exercises come in two forms: thinking alone, and thinking with the person next to you
  • A good conversation engages both brains on one problem, not two monologues. Find what you agree on, and what you do not
  • Putting a feeling or an idea into words is hard, and it is the skill that lets you reach both people and machines

How the Learning Happens

  • Flipped. A video before most classes. Class time is for thinking together.
  • Interactive slides. Read them like a story. I appear from time to time to make you stop and think.
  • ML humanities. What this means for society, for work, and for you. Questions nobody has settled answers to.
  • A project you choose. You pick the direction, and build something real.

How This Website Works

These slides are a website, and you are logged in to it. Three keys, wherever you are:

C Comment on a slide. Tell me what is unclear, wrong, or missing. I read these, and the good ones change the slides.
A Ask about the slide you are on. The tutor is given that slide's actual content, so ask about what is in front of you.
R References. What to read or watch before class, and where to go deeper.

Quizzes appear inside the slides as you go, and your answers are saved. So are your questions.

Course Objectives

  • Gain experience getting computers to model the world from data
  • Master computational and data-driven thinking
  • Master the mathematical language of machine learning
  • Learn powerful machine learning algorithms
  • Use existing machine learning frameworks
  • Have fun

Course Details

Prerequisites Linear algebra, calculus, probability and statistics, and programming. MATH 218/219, MATH 201, STAT 230, EECE 230.
Schedule Tue and Thu, 11:00 to 12:15. Some days are labs: bring your laptop.
References
Getting help
  • Teaching assistants, office hours and contacts: intro2ml.com
  • Slack, for everything else

Grades

Project
40%
Assignments
20%
Final
15%
Midterm
10%
Quizzes
10%
Participation
5%

The project's 40% is five deliverables: pre-proposal 3, proposal 7, progress report 5, poster session 10, final report 15.

Late Work

The penalty Late assignments are penalized 10% per day.
Your five days You get 5 emergency days to spend across any assignments, no questions asked. At most 3 on any one assignment. They do not apply to the project.
Beyond that Extensions for documented emergencies. Ask before the deadline, not after.

Generative AI Policy

First, why are you here? To think on your own, to solve problems, to learn to use tools.

Yes, use them Treat an LLM as a smart friend with a lot of knowledge who, like any friend, makes mistakes. Keep a healthy skepticism.
But they can make you dumber If it does the thinking and you paste the answer, you are training your own replacement. Your future is at stake.

Using LLMs Well

  • Ask good questions: define and attempt the problem yourself first. Use an LLM to empower your thinking, not to replace it.
  • Cross-check: knowing when to trust LLM output is the same skill as judging a social media post. It needs a good model of the world.
  • Learn from it: when it gives you a solution, take the time to understand the steps. You can learn anything if you ask the right questions.

Thursday

Learning, Examples, and Data

Before then: the syllabus on intro2ml.com, and PS0.