AI→ML
Roadmap  ›  Part I · The AI Landscape  ›  Module 0 · Orientation
Lesson 01 · Foundations

What Is Artificial Intelligence?

Before we can learn Machine Learning, we need an honest answer to a deceptively hard question: what do we actually mean by "artificial intelligence" — and why does the field keep redefining it?

Reading: ~25 min Prerequisites: none Code: none yet — this is a map, not a machine
Why start here and not with code

You're a software engineer, so your instinct is to build. But "AI" is one of the most overloaded terms in computing — it has meant chess programs, medical rule-bases, spam filters, and chatbots, often in the same decade. If you don't have a mental map of the territory, every later concept ("is a decision tree AI or ML?") becomes confusing. This lesson gives you that map. By the end you'll be able to place any technique — including everything else in this course — in its correct box.

What this lesson delivers

1 · What is it? Defining an intelligence we can't define

Here is the uncomfortable truth at the center of the field: we cannot define intelligence precisely, so we cannot define artificial intelligence precisely either. Instead, AI has always been defined by what it is trying to do. A useful starting definition:

Working definition

Artificial Intelligence is the branch of computer science concerned with building systems that perform tasks which, when done by humans, are said to require intelligence — such as perceiving, reasoning, learning, planning, understanding language, and making decisions under uncertainty.

Notice the slipperiness built into that sentence. It defines AI relative to human ability, which creates a famous moving target known as the AI effect: as soon as a machine can do something reliably, we stop calling it intelligent. Optical character recognition, route planning, and chess were all "AI" until they worked — then they became "just algorithms." This is why the boundary of AI feels like it keeps shifting: it does.

A cleaner way to organize the definitions comes from Russell & Norvig, who point out that historical definitions fall along two axes:

Concerned with thoughtConcerned with behavior
Measured against humansThinking humanly — model the actual human mind (cognitive science)Acting humanly — the Turing Test: be indistinguishable from a person
Measured against an idealThinking rationally — the "laws of thought", formal logicActing rationally — the rational agent: do the right thing to achieve goals

Modern AI overwhelmingly adopts the bottom-right box: the rational agent. We don't require a system to think like a human or to be conscious. We require it to act so as to achieve its goals as well as possible, given what it knows and perceives. This is the definition that makes AI an engineering discipline rather than a philosophy seminar — and it's the one this course quietly assumes.

Engineer's translation

Forget "can it think?". Ask: "Given some perception of the world, does this system choose actions that move it toward a goal, and can we measure how well?" That reframing — agent, perception, action, goal, performance measure — is the load-bearing idea of the entire field.

2 & 3 · Why was it needed? What problem does it solve?

As a software engineer you already know how to make a computer do exactly what you specify. So why is a whole field needed? Because a vast category of valuable problems cannot be solved by writing explicit rules, for one of three reasons:

AI exists to attack exactly these problems: tasks where the classical software recipe — "a human works out the algorithm, then codes it" — breaks down because the human can't work out the algorithm, or the algorithm is intractable to specify.

The pivotal insight (hold onto this — it is the seed of Machine Learning)

If we can't write the rules, maybe we can write a program that discovers the rules from examples. Instead of "programmer → rules → program," we do "data + desired outcomes → learning procedure → rules." That inversion is the single idea that turns AI into Machine Learning. Everything in Parts II–VIII of this course is a way of carrying it out.

4 · How the field developed (the parts that still matter)

I'll spare you the exhaustive timeline and keep only the beats that explain why the field looks the way it does today. The pattern is important: AI has gone through cycles of soaring optimism and crashes ("AI winters"), and the survivor of those crashes is precisely the paradigm you're about to study.

The founding (1943–1956)

McCulloch & Pitts modeled a neuron as a logic gate (1943). Turing asked "Can machines think?" and proposed his imitation game (1950). The field was formally named at the Dartmouth workshop of 1956, whose proposal confidently claimed a summer's work could make real progress on language, abstraction, and self-improvement. That optimism set the tone — and the trap.

The symbolic era & the first winter (1956–1980)

Early AI bet that intelligence is symbol manipulation: represent knowledge as logical statements and search or deduce over them. It produced genuine milestones (theorem provers, the first chatbots, planning systems) but hit two walls: problems exploded combinatorially, and encoding real-world knowledge by hand proved staggeringly hard. Funding collapsed — the first AI winter.

Expert systems & the second winter (1980–1990s)

Industry revived AI with expert systems: hand-crafted rule bases capturing a specialist's knowledge (e.g. MYCIN for infections). They worked in narrow domains and made money — but they were brittle, couldn't learn, and were nightmarish to maintain as rules multiplied. When they failed to scale, the second winter hit.

The lesson both winters taught

Hand-coding intelligence — whether as logic or as expert rules — does not scale to the messy, uncertain real world. Both crashes came from the same root cause. The field's escape was to stop hand-coding the knowledge and start learning it from data.

The statistical turn & the modern boom (1990s–now)

From the 1990s, AI reoriented around probability, statistics, and learning from data — the Machine Learning paradigm. Three forces made it explode:

The through-line: the approach that survived the winters and now dominates is learning from data. That's not a fashion — it's the paradigm that solved the scaling problem that killed its predecessors. And that paradigm is exactly where this course lives.

5 · The major approaches to building intelligent systems

Across that history, humanity has really only tried a handful of fundamentally different strategies for making machines act intelligently. Knowing these four lets you classify any AI system you meet.

A
Search & planning — Frame the problem as states and moves; explore the space of possibilities to find a path to the goal. Powers game engines, route planners, scheduling. Intelligent behavior emerges from systematic exploration, not from knowledge.
B
Knowledge & logic (symbolic AI / "GOFAI") — Encode facts and rules explicitly; derive conclusions by logical inference. Expert systems, knowledge graphs, formal reasoning. Transparent and precise, but brittle and hand-built.
C
Statistical learning (Machine Learning) — Don't encode the rules; infer them from data. The system improves its performance on a task through experience. This is our subject.
D
Bio-inspired methods — Borrow mechanisms from nature: neural networks (brains), evolutionary/genetic algorithms (selection), swarm methods (ant colonies). Deep Learning is the neural branch grown enormous.

Real systems mix these. A self-driving car uses learning (C) to perceive pedestrians, search/planning (A) to choose a trajectory, and hand-written rules (B) for legal constraints like "never cross a solid line." Intelligence, in practice, is a composite.

A definition worth memorizing (Tom Mitchell, 1997)

The classic, precise definition of the learning approach:

A program learns from experience E with respect to task T and performance measure P, if its performance at T, measured by P, improves with E.

This isn't decoration — it's the template we will fill in for every algorithm in the course. For spam filtering: T = label email as spam/not, E = a corpus of labeled emails, P = fraction classified correctly. Keep the <T, P, E> triple in your head; we'll return to it constantly.

6 · Where Machine Learning fits — the map you'll use all course

Now the payoff. Here is the containment relationship, from widest to narrowest:

1
Artificial Intelligence — the whole field: any technique that makes machines act intelligently (all four approaches above).
2
Machine Learning ⊂ AI — the subset that learns behavior from data instead of being explicitly programmed. This is our course.
3
Neural Networks ⊂ ML — one family of ML models, loosely inspired by brains.
4
Deep Learning ⊂ Neural Networks — neural networks with many layers. Powers modern vision, NLP, and LLMs. Deliberately outside our scope — we stop at the ML level.

Two adjacent terms people confuse with these:

Precise placement of everything you'll learn

Linear Regression, Logistic Regression, k-NN, Decision Trees, SVMs, Random Forests, k-Means, PCA — every algorithm in this course lives in box 2 (Machine Learning) and specifically in approach C (statistical learning). None of them are Deep Learning. This is "classical" or "traditional" ML: powerful, interpretable, the right tool for most real-world tabular problems, and the essential foundation before any neural network makes sense.

A first taste of ML's internal structure

Within Machine Learning, problems split by what kind of experience the system learns from. You'll meet this properly in Lesson 4, but here's the preview so the roadmap reads clearly:

TypeThe data has…GoalCourse examples
Supervisedinputs and correct answers (labels)predict the answer for new inputsRegression, Classification (Parts III–IV)
Unsupervisedinputs only, no answersfind hidden structurek-Means, PCA (Part VII)
Reinforcementrewards from acting in an environmentlearn a strategy by trial and errorcontext only — out of scope

7 · How this is "implemented in practice" (at the field level)

There's no code in this lesson, but it's worth grounding the abstractions. When an organization "does AI" today, the concrete reality is almost always an ML pipeline: collect and clean data → represent it as numbers (features) → choose a model family → train the model by optimizing a numerical objective → evaluate honestly on held-out data → deploy and monitor. Every stage in that sentence is a lesson later in this course. The philosophy of Section 1 becomes, in practice, a very concrete engineering loop — one that will feel natural to you as a software engineer.

8 · Limitations — what "AI" is not

Guardrails to carry forward

How this connects to the next lesson

Bridge to Lesson 2

You now have the map: four approaches, and ML as the one that learns from data. In Lesson 2 — How Intelligent Systems Are Built, we zoom into approaches A and B (search and symbolic logic) just enough to feel why they hit walls — the very walls that made the statistical, learning-based approach (C) win. Understanding what ML replaced makes ML itself far less mysterious. After that, Lesson 3 sharpens the AI/ML/DL boundary, and Lesson 4 opens the machine we'll spend the rest of the course building.

Exercises & reflection

No coding yet — these are calibration questions. If you can answer them in a sentence or two, you're ready to move on.

Exercise 1 · Classify the approach

For each system, name which of the four approaches (Search, Symbolic/Logic, Statistical Learning, Bio-inspired) it primarily uses — some use more than one:

  1. A GPS app finding the shortest route.
  2. A spam filter that improves as you mark messages.
  3. A tax-preparation program that applies the legal rulebook.
  4. A program that plays chess by looking many moves ahead.
Show discussion

(1) Search/planning. (2) Statistical learning — it's ML, specifically supervised classification. (3) Symbolic/logic — a hand-coded rule base, an expert system. (4) Primarily search/planning; modern engines add a learned evaluation (statistical learning), so it's a hybrid — exactly the "intelligence is a composite" point.

Exercise 2 · Fill in Mitchell's triple

Pick a task you'd like a machine to do (e.g. "predict apartment prices"). Write out its <T = task, P = performance measure, E = experience>. If you can't name the experience E as concrete data, the problem isn't yet an ML problem — reframe it until you can.

Exercise 3 · The moving target

In one sentence, explain the "AI effect" to a non-technical friend, and give an everyday technology that was once considered AI but no longer is.

One-paragraph summary to lock it in

AI is the engineering of systems that act to achieve goals on tasks we associate with intelligence. Because many such tasks resist explicit rules, the field's winning strategy became learning the rules from data — Machine Learning. ML is a strict subset of AI; Deep Learning is a strict subset of ML's neural-network family. This course lives entirely at the ML level (classical, statistical learning), which is both the historically robust core of the field and the necessary foundation for anything deeper.