Guide to AI and Data Courses · Lecture Notes

Chapter 1: Map of the Field

A student who says "I want to build a system that finds disease in images" could go to any of four courses: Machine Learning, Image Processing, Computer Vision or Medical Image Processing. All four names are right and none is enough alone. The field of AI and data is made of thirty-eight courses that build on one another and borrow methods from one another, and before learning them one by one it saves time to know where each one stands. These notes are the opening chapter of the guide: they show how the map is drawn, how to read its signs, and what the numbers we have say.

Learning outcomes

Purpose of the guide
State that the guide maps the courses rather than teaching them, and which questions it answers for each course.
Nested terms
Draw artificial intelligence, machine learning, neural networks and deep learning as nested sets and place a given system in the right ring.
Six parts
Know how the thirty-eight courses are spread over six parts and assign a problem to the right part.
Kinds of relation
Tell subfield, builds-on, shares-methods and application relations apart; read one relation from the point of view of both courses.
Place of the course
Interpret the counts of links between parts and of hub courses; read the guide front to back, from an interest, or by comparison.

1.1What does the guide map?

Of the guide's forty chapters the first is this opening and the last is the chapter on comparisons and roadmaps; each of the thirty-eight chapters in between, 2 to 39, introduces one university course. The aim is not to teach these courses. It is to map them: what question does each course ask, which tools does it share with other courses, and where does it part ways?

So every chapter repeats the same pattern: the course's one-sentence question, its definition, a short history, core concepts, prerequisites, neighboring courses, applications and tools. The full syllabus, derivations of formulas, assignments and code examples are deliberately absent; they belong to the course's own textbook. The lecture note beside each chapter keeps to the same limit: it shows the three ideas of the first week of the course with small examples, and no more.

In the guideNot in the guide
Each course's core question and conceptsThe full syllabus of any course
A short history and a typical workflowDerivations of formulas
Prerequisites and neighboring coursesAssignments and coding exercises
Overlap and difference tablesA textbook that replaces the course
Applications and tools
Definition 1.1 (Map and course)

A course teaches a subject; a map positions courses relative to one another. From the map we learn which course to choose; in the course we learn its content.

Example 1.1: Four courses, one problem

"A system that finds pneumonia in chest X-rays" sits where four courses meet, and this is where a map earns its keep.

  1. Generalization. The system learns from labeled X-rays: Machine Learning.
  2. The image itself. Operations such as denoising and segmentation: Image Processing.
  3. The rules of the domain. Medical image formats, labeling and responsibility in diagnosis: Medical Image Processing.
  4. Decision. In the guide's relation table Medical Image Processing is an application area of Image Processing and of Computer Vision, so those two should be met first.

The map turns "which course should I take?" into "which part of this problem is which course's job?"

1.2Nested terms: AI ⊃ ML ⊃ ANN ⊃ DL

In everyday language "artificial intelligence", "machine learning" and "deep learning" are often used as if they meant the same thing. They are in fact four nested rings, each a subfield of the one around it.

RingExamples of methods it containsCourse in the guide
Artificial Intelligence (AI)search, planning, logic, expert systemsChapter 2
Machine Learning (ML)decision trees, support vector machines, k-meansChapter 3
Artificial Neural Networks (ANN)perceptron, multilayer networkChapter 4
Deep Learning (DL)convolutional networks, transformersChapter 5

The nesting also appears in the guide's relation table: Machine Learning is recorded as a subfield of Artificial Intelligence, Neural Networks as a subfield of Machine Learning, and Deep Learning as a subfield of Neural Networks. Every deep learning model is a neural network, every neural network is a learning method, and every learning method belongs to AI. The converse fails: not every AI system learns.

Example 1.2: Placing four systems in the rings

To find the innermost ring a system reaches, ask three questions in order: (1) Does it use rules or search, or does it learn from examples? (2) If it learns, is the model a neural network? (3) Is the network deep, learning representations from raw data?

SystemQuestion 1Question 2Question 3Innermost ring
A chess program that searches moves and picks the bestsearch——AI only
A decision-tree filter trained on labeled emailslearnsno—ML
A small network with one hidden layerlearnsyesnoANN
A convolutional network with hundreds of layers that learns from raw imageslearnsyesyesDL

A system belongs to its innermost ring and to every ring outside it: the network in the last row is also an ANN, an ML and an AI example. "Which rings does it belong to?" has no single answer; "which is the innermost?" does.

Common mistake

Treating "AI" and "deep learning" as synonyms. Deep learning is today the most visible subfield of AI, but search, logic and rule-based systems are AI too. Another term is also often mixed in: data mining is not a ring of this nesting; it is a neighboring course that shares methods with machine learning (see below).

1.3Six parts, thirty-eight courses

The guide divides the thirty-eight courses into six parts. The parts are built by subject: a course is put next to the courses with which it shares the most questions.

PartCoursesCourse list (chapter numbers)
I. Core4Artificial Intelligence (2), Machine Learning (3), Neural Networks (4), Deep Learning (5)
II. Branches of AI10Natural language processing (6), reinforcement learning (7), pattern recognition (8), fuzzy logic (9), evolutionary optimization (10), expert systems (11), probabilistic graphical models (12), generative models (13), multi-agent systems (14), explainable AI and ethics (15)
III. Signals, Images and Audio9Digital signal processing (16), image processing (17), computer vision (18), speech and audio (19), medical image processing (20), remote sensing (21), computer graphics (22), robotics (23), biometrics (24)
IV. Data6Data mining (25), data science (26), big data (27), information retrieval and recommenders (28), time series (29), social network analysis (30)
V. Mathematical Foundations4Linear algebra (31), probability and statistics (32), optimization (33), information theory (34)
VI. Systems and Applications5MLOps (35), embedded AI (36), GPU programming and parallel computing (37), AI in cybersecurity (38), bioinformatics (39)
Total38

The counts add up to 4 + 10 + 9 + 6 + 4 + 5 = 38. The largest part is Branches of AI, because artificial intelligence splits into many subfields that ask very different questions. The smallest, equal in size, are Core and Mathematical Foundations; but small as they are, they are densely connected (see below).

Example 1.3: Assigning a problem to a part

The six parts also work as a placement guide. Consider three problems.

  • "Recommend a film to a viewer." The input is past user behavior and the output is a ranking: part IV, Data, Information Retrieval and Recommender Systems. The guide links this course to Linear Algebra (matrix factorization), Data Mining and Social Network Analysis.
  • "Extract the speaker and the words from a recording." The input is a signal: part III, Speech and Audio. Digital Signal Processing is a prerequisite.
  • "Fit a trained model onto the chip inside a watch." The problem is not the model but running it: part VI, Embedded AI. In the guide this course is an application area of Deep Learning (quantization, pruning, small models).

The deciding questions are "what is the input?" and "does the course treat methods, data or systems?" A problem often touches several parts; the map does not hide this, it shows it in the relation table.

1.4Four kinds of relation between courses

It is not enough to know that two courses are neighbors; we also need to know how. The guide puts every relation into one of four kinds.

KindMeaningExample in the guideNumber of relations
subfieldInherits all of its concepts and adds new ones of its ownDeep Learning → Neural Networks10
builds onThe other course comes first; this one is built on top of itComputer Vision → Image Processing21
shares methodsThey use the same tools but ask different questionsData Mining ↔ Machine Learning54
applicationApplies the other course's methods to one domain, under that domain's rulesMedical Image Processing → Computer Vision11
Total96

The total is 10 + 21 + 54 + 11 = 96 relations. More than half of them (54, about 56 percent) are shared methods: most courses in the field borrow the same tools (most often machine learning, optimization and deep learning), and the difference lies mainly in the question, the goal and the data. Of the 21 builds-on relations, 14 point to just two courses: seven courses build on Probability and Statistics, and seven on Linear Algebra.

The ten subfield relations point in four directions: six to Artificial Intelligence (Machine Learning, Natural Language Processing, Fuzzy Logic, Evolutionary Optimization, Expert Systems, Multi-Agent Systems), two to Machine Learning (Neural Networks, Reinforcement Learning), one to Neural Networks (Deep Learning) and one to Deep Learning (Generative Models). The eleven application relations originate in only seven courses: Medical Image Processing, Remote Sensing, Biometrics, MLOps, Embedded AI, AI in Cybersecurity and Bioinformatics.

Example 1.4: Reading a relation from both sides

The guide stores each relation once and mirrors it into both courses' presentations, so whatever A's presentation says about B, B's presentation says about A as the same relation. Let us read two relations from both sides.

RecordIn the first course's presentationIn the second course's presentation
Deep Learning — subfield — Neural NetworksDeep Learning is a subfield of Neural NetworksDeep Learning is a subfield of this course
Medical Image Processing — application — Image ProcessingMedical Image Processing is an application area of Image ProcessingMedical Image Processing applies this course's methods

The sentence is built from the reader's own course each time, but it says the same thing. Direction matters: "subfield", "builds on" and "application" are asymmetric (we cannot say that Neural Networks is a subfield of Deep Learning), whereas "shares methods" reads the same from both sides.

Common mistake

Reading "share methods" as "are the same course". For Data Mining and Machine Learning the guide's note is: the same algorithms, but the goal is discovery, not prediction. When the same tool is pointed at a different question, a separate course is born.

1.5Comparison criteria

To tell apart two courses that look alike, the guide asks every course the same six questions and shows the answers in each chapter's "profile" box. First comes the course's one-sentence core question; then these six criteria.

CriterionWhat it asks
ApproachThe way of thinking it brings to a problem: search, statistics, logic, transforms…
InputWhat kind of data or specification does the course start from?
OutputWhat comes out at the end: a decision, a model, an image, a report…
Success measureHow do we tell that a solution is good?
Math loadHow much mathematics does it rely on, and which kind?
Data needsHow much data does it need; can it work without data?
Example 1.5: Telling two neighbors apart with six criteria

Machine Learning and Data Mining are two courses that share methods. Let us put their profiles from the guide side by side.

CriterionMachine LearningData Mining
Approachstatistical learningdiscovery-driven analysis
Inputlabeled or unlabeled exampleslarge tables or transaction data
Outputa model that makes predictionsrules, clusters, outliers
Success measureerror on unseen datainterestingness, support, confidence
Math loadhigh: linear algebra, probability, optimizationmedium
Data needsmoderate to largelarge

The answer differs on all six rows, but the difference is carried mostly by the approach, the output and the success measure. The two courses may use the same algorithms, but one uses them to predict on new examples and the other to discover patterns in data. The same clustering algorithm can appear in a data mining study that groups customers and in the unsupervised part of a machine learning course; what separates them is the question "how is success measured?"

These six criteria are also the basis of the comparison tables in the guide's last chapter. When we mix up two courses, the quickest remedy is to put their profile boxes side by side and see on which criteria they differ.

1.6Links, hubs and how to read the guide

A summary of the map in numbers shows which courses touch many others. The table below counts the relations between each pair of parts; the diagonal holds a part's relations within itself.

IIIIIIIVVVI
I. Core3132385
II. Branches1379352
III. Signals, Images, Audio2910233
IV. Data332554
V. Mathematics853520
VI. Systems and Applications523402

The diagonal adds up to 3 + 7 + 10 + 5 + 2 + 2 = 29, so 29 of the 96 relations lie within a part and 67 (about 70 percent) are bridges between two parts. The densest bridge is between Core and Branches of AI (13); next come Branches with Signals, Images and Audio (9), and Core with Mathematical Foundations (8). The table also holds a zero: there is no direct recorded relation between the Mathematical Foundations courses and the Systems and Applications courses; the connection always runs through another course.

1.6.1Hub courses

A course's number of relations is its degree in the map. The average over thirty-eight courses is 2 · 96 / 38 ≈ 5.05 (each relation counts for two courses). The courses far above the average are the hubs.

CourseRelationsBy kind
Machine Learning153 subfield, 3 builds on, 6 shares methods, 3 application
Deep Learning92 subfield, 1 builds on, 5 shares methods, 1 application
Artificial Intelligence86 subfield, 1 builds on, 1 shares methods
Computer Vision81 builds on, 4 shares methods, 3 application
Data Mining81 builds on, 6 shares methods, 1 application
Probability and Statistics87 courses build on it, 1 shares methods
Natural Language Processing71 subfield, 6 shares methods
Linear Algebra77 courses build on it

Machine Learning leads by a wide margin with 15 relations: 3 + 3 + 6 + 3 = 15. Two of the top eight courses (Probability and Statistics, Linear Algebra) are mathematical foundations, and these two are also the courses most others build on (seven each). Skipping a hub makes many neighboring courses harder, because they rest on it.

Example 1.6: The fifteen neighbors of Machine Learning

Let us list the fifteen relations by kind and pick a neighbor of each kind. We read from the course's own point of view.

  • Subfield (3). It is a subfield of Artificial Intelligence; Neural Networks and Reinforcement Learning are subfields of it.
  • Builds on (3). Linear Algebra (feature vectors), Probability and Statistics (generalization error) and Optimization (loss minimization) come first.
  • Shares methods (6). Pattern Recognition, Probabilistic Graphical Models, Explainable AI, Data Mining, Data Science and Information Theory.
  • Application (3). MLOps, AI in Cybersecurity and Bioinformatics apply machine learning's methods.

This is why machine learning is both a region and a hub of the map: things are built on top of it (ANN, RL), foundations lie beneath it, method-sharing neighbors stand beside it, and applications lie beyond.

1.6.2How to read the guide

The guide can be read in four ways. Front to back: the core courses (Chapters 2–5) are the common language of the whole map, so read them first. From an interest (images, language, data, robotics): start from the part that interests you and follow the prerequisite tables backwards. By comparison: open the "Where It Differs" boxes of two courses you tend to confuse side by side. Choosing electives: look at the roadmaps in the last chapter, which suggest groups of courses that make sense together. The relation badges in each chapter and the interactive map (click a course and its neighbors light up) combine these four readings.

1.7Summary

  • The guide does not teach the thirty-eight courses; it maps them: what question does each ask, what does it share, where does it differ?
  • The terms are nested: AI ⊃ ML ⊃ ANN ⊃ DL. Every deep learning model is a neural network, but not every AI system learns (a chess program that searches is only AI).
  • The courses fall into six parts: Core 4, Branches 10, Signals-Images-Audio 9, Data 6, Mathematics 4, Systems and Applications 5 (38 in all).
  • There are four kinds of relation (subfield 10, builds on 21, shares methods 54, application 11; 96 in all), and each relation appears in the same form in both courses' presentations.
  • Machine learning (15 relations) and the mathematical foundations (probability and statistics, linear algebra) are the hubs of the map; about 70 percent of the 96 relations (67) are bridges between two parts.

1.8Test Yourself

  1. How far into the rings AI ⊃ ML ⊃ ANN ⊃ DL does each system reach? (a) A navigation app that finds the shortest route on a map with A*. (b) A decision tree trained on labeled data that shows its decision as many "if–then" rules. (c) A convolutional network with dozens of layers for face recognition.

    Answer

    (a) AI only: it uses search and does not learn. (b) ML: it learns but is not a neural network. (c) DL: it is a many-layered neural network, hence also an example of ANN, ML and AI.

  2. The six parts have 4, 10, 9, 6, 4 and 5 courses. How many courses is that in total? How many chapters does the guide have?

    Answer

    4 + 10 + 9 + 6 + 4 + 5 = 38 courses. The guide has 40 chapters: 38 course chapters (2–39), one opening chapter (1) and one closing chapter (40).

  3. The relation counts are subfield 10, builds on 21, shares methods 54, application 11. How many relations are there in all? What percentage of the total is shared methods? What is the average number of neighbors per course?

    Answer

    Total 10 + 21 + 54 + 11 = 96. Shares methods is 54/96 = 0.5625, about 56 percent. Since each relation counts for two courses, the average number of neighbors is 2 · 96 / 38 = 192/38 ≈ 5.05.

  4. One record reads: "Bioinformatics — application — Data Mining". Write this relation as one sentence from the point of view of Data Mining. Which kinds are directional (read differently from the two sides)?

    Answer

    In the Data Mining presentation: "Bioinformatics applies this course's methods." In the Bioinformatics presentation: "Bioinformatics is an application area of Data Mining." Subfield, builds on and application are directional; shares methods reads the same from both sides.

  5. Row I of the part-to-part table is 3, 13, 2, 3, 8, 5. How many relations does the Core part have with other parts? What percentage of the 67 cross-part relations is that?

    Answer

    The diagonal (3) lies within the part, the rest are bridges: 13 + 2 + 3 + 8 + 5 = 31. 31/67 ≈ 0.46, so about 46 percent of the bridges touch Core.

  6. Machine Learning and Data Mining use the same clustering algorithm. Which criteria still separate the two courses?

    Answer

    Approach (statistical learning / discovery-driven analysis), output (a model that makes predictions / rules, clusters, outliers) and success measure (error on unseen data / interestingness, support, confidence). So even with a shared algorithm the goal and the definition of success differ; the guide's note: same algorithms, but the goal is discovery, not prediction.

1.9Further reading

  • S. Russell and P. Norvig, Artificial Intelligence: A Modern Approach: introduces the whole field of AI through search, knowledge, uncertainty and learning; the standard textbook for the "Artificial Intelligence" ring of the map.
  • I. Goodfellow, Y. Bengio and A. Courville, Deep Learning (2016): gathers deep learning in one book, including its mathematical foundations (linear algebra, probability, numerical computation); it gives the groundwork for the innermost ring.

Related pages: Slides · Slides (PDF) · Course page