Guide to AI and Data Courses · Lecture Notes

Chapter 40: Comparisons and Roadmaps

When a student says "I want to work with images", Image Processing, Computer Vision, Medical Image Processing, Remote Sensing and several more courses are all on the table; the names sound alike and the topics overlap. The last chapter of the guide is there to sort out this pile. We learn to compare courses with the same six questions every time, to tell apart pairs that tend to get mixed up, to find which course a real problem belongs to, and to pick a track by interest. These notes do not repeat the summaries of the thirty-eight courses; they show how to use the map.

Learning outcomes

Six criteria
Describe a course by its approach, input, output, success measure, math load and data needs, and compare two courses with these criteria.
Telling pairs apart
Separate often-confused pairs such as Image Processing and Computer Vision by the question each one asks.
Placing a problem
Split a problem into parts and say, with reasons, which course each part belongs to.
Roadmaps
Describe the six roadmaps in order and choose a suitable track for a goal.
Place of the course
Starting from interests, rank elective courses by how many interests they touch.

40.1Comparing courses by six criteria

Two courses can use the same algorithm, so a list of algorithms does not tell courses apart. The guide describes every course with the same six questions: approach (how the course treats a problem), input, output, success measure, math load and data needs. The big table in Chapter 40 is the six-column profile of the courses. Below are the profiles of four courses, copied from that table.

CriterionImage ProcessingComputer VisionMachine LearningData Mining
Approachpixel-level transformationsextracting meaning from imagesstatistical learningdiscovery-driven analysis
Inputimageimage or videolabeled or unlabeled exampleslarge tables or transaction data
Outputprocessed image or regionslabel, box, depth, 3D structurea model that makes predictionsrules, clusters, outliers
Success measurevisual quality, PSNRaccuracy, mAP, IoUerror on unseen datainterestingness, support, confidence
Math loadmedium: convolution, Fourierhigh: geometry, linear algebrahigh: linear algebra, probability, optimizationmedium
Data needslittle; learning not requiredmany labeled imagesmoderate to largelarge
Example 40.1: Reading the table

Two comparisons can be read off the table.

  1. Image Processing and Computer Vision. The input is the same (an image) and the output differs: one gives a processed image, the other a label or a box. The success measure follows: visual quality (PSNR) versus accuracy, mAP and IoU. Data needs differ too: image processing needs little data, computer vision needs many labeled images.
  2. Machine Learning and Data Mining. Their inputs are close (examples, a table); their outputs and measures part ways. Machine learning wants to reduce error on unseen data, while data mining finds rules, clusters or outliers and judges them by interestingness, support and confidence.
  3. Overall. Of the six rows the most telling are output and success measure: whoever can say what a course produces and how it is judged has understood the course.

The math-load and data-needs rows are a planning tool. Before choosing a course we can see from these two rows whether we have the mathematics and the data it needs. For example, the profile of Optimization lists its math load as "the theory itself" and its data needs as "none"; Deep Learning lists its data needs as "large; needs GPUs".

Common mistake

Reading the profile as a ranking. The table does not answer "which course is better"; it only shows what a course takes as input, what it produces and how it is measured. A course with a medium math load is not worth less than one with a high load; it answers a different question.

40.2Often-confused pairs

Some pairs of courses are close in name, algorithm or application. The guide goes through such pairs one by one. In most of them what separates the two is not the algorithm but the question asked. Four examples:

PairDifference
Image Processing ↔ Computer VisionIn image processing both input and output are images; in computer vision the input is an image and the output is meaning: a label, a box, depth.
Machine Learning ↔ Data MiningThey share algorithms; ML aims to predict new examples, data mining to discover patterns in data.
Artificial Intelligence ↔ Machine LearningAI is the framework; ML focuses only on learning from data within it.
Data Science ↔ Data MiningData science covers the whole path from question to decision; data mining focuses on the pattern-finding step.

Three kinds of relation can be read from these four sentences. Image Processing and Computer Vision have the same input but a different output. Machine Learning and Data Mining have shared methods but different goals. Artificial Intelligence and Machine Learning, and Data Science and Data Mining, stand in a framework and part relation: one sits inside the other. Knowing which kind a pair is lasts longer than memorizing the table.

Example 40.2: One method, two questions

Let us apply the same clustering algorithm to a supermarket's sales table.

  1. If the aim is "which customer groups exist?", the result is a discovery; the clusters are judged by interestingness and interpretability. This is a data mining question.
  2. If the aim is "which group does a new customer fall into, and can we predict the next purchase?", the clusters are used to predict on new examples and are measured by error on unseen data. This is a machine learning question.
  3. The algorithm is the same; what changes is how the output is used and how success is measured.
Common mistake

Saying "these two courses teach the same thing, picking one is enough". A shared method does not mean a shared subject; Image Processing and Computer Vision handle the same images for different purposes, and one does not replace the other.

40.3Placing a real problem in a course

Real problems do not arrive with a course name; they arrive as "hospital", "online shop" or "drone". The way to place a problem is to split it into parts first. Three questions do the work: what is the input, what should the output be, how will success be measured? The answer for each part fits a row in the profile table. Most problems fall not into one course but into two or three; the real work is separating each course's share.

Example 40.3: Outlining tumors

Problem: Automatically outline tumors in a hospital's MRI scans.

  1. Input and output. Image in, regions out: segmentation. This is core business for image processing and computer vision.
  2. Context. The data are clinical, labels are scarce, the decision concerns health and carries accountability. These turn the problem from generic segmentation into medical image processing.
  3. Answer. Medical Image Processing, Computer Vision and Image Processing.
Example 40.4: "Customers who bought this also bought"

Problem: Build a "customers who bought this also bought" list for an online shop.

  1. Part 1. Finding which products are bought together is a search for patterns in transaction data: association rules, which come from data mining.
  2. Part 2. Showing the discovered relation to the user as a ranked list is the job of information retrieval and recommender systems.
  3. Answer. Information Retrieval and Recommender Systems, and Data Mining.
Example 40.5: A drone staying level in the wind

Problem: A drone learns to stay level in the wind by trial and error.

  1. Are there labels? No. No teacher says the right move; there is only a reward for staying level. Trial and error with a reward is the question of Reinforcement Learning.
  2. Body and sensors. The vehicle is a physical system; sensing and actuation belong to robotics.
  3. Answer. Reinforcement Learning and Robotics.

The same method worked in all three examples: first fix the input, output and measure; then match each part to a course profile. Every "Which course?" question in the guide is solved with the same pattern.

40.4Roadmaps

Choosing a course is one decision; choosing a track is a series of decisions. The guide proposes six tracks. Each track has six courses, ordered from prerequisites to specialization. The tracks cross: for example Linear Algebra opens three tracks, and Deep Learning is inside three tracks.

TrackAimOrder
Vision trackSystems that make sense of imagesLinear Algebra → Signal Processing → Image Processing → Computer Vision → Deep Learning → Medical Imaging
Language trackSystems that work with text and speechProbability & Statistics → Machine Learning → NLP → Deep Learning → Generative Models → IR & Recommenders
Data trackTurning data into decisions and forecastsProbability & Statistics → Data Science → Data Mining → Big Data → Time Series → Social Network Analysis
Robotics trackSensing and acting in the physical worldLinear Algebra → Optimization → Robotics → Reinforcement Learning → Multi-Agent Systems → Embedded AI
Theory trackPreparing for researchLinear Algebra → Probability & Statistics → Optimization → Information Theory → Graphical Models → Machine Learning
Production trackTurning a model into a real productMachine Learning → Deep Learning → GPU & Parallel Computing → MLOps → Embedded AI → AI in Cybersecurity
Example 40.6: Following two tracks together

A student wants to follow the Language track and the Production track together.

  1. Find the shared courses. Language: Probability & Statistics, Machine Learning, NLP, Deep Learning, Generative Models, IR & Recommenders. Production: Machine Learning, Deep Learning, GPU, MLOps, Embedded AI, AI in Cybersecurity. The shared ones are Machine Learning and Deep Learning (2 courses).
  2. Total. 6 + 6 − 2 = 10 courses; shared courses are taken once.
  3. Result. The second track adds only 4 courses instead of 6. Crossing tracks makes the second track cheap.

The tracks are a suggested order, not a requirement: they answer "which course should I look at first for this goal". Courses early in a track are prerequisites for the ones after them.

40.5From interest to elective

The guide also lists courses under eight interests: images and video, language and speech, data and business, robots and the physical world, mathematics and theory, systems and hardware, trust-society-health, games and decision making. A course can appear under several interests. The selection rule is simple: pick one or more interests and rank the courses by how many of them they touch.

Example 40.7: Choosing two interests together

A student picks "Images and video" and "Trust, society and health".

  1. First list. Images and video: Image Processing, Computer Vision, Medical Image Processing, Remote Sensing, Computer Graphics, Biometric Systems, Digital Signal Processing, Deep Learning (8 courses).
  2. Second list. Trust, society and health: Explainable AI and AI Ethics, AI in Cybersecurity, Medical Image Processing, Bioinformatics, Biometric Systems (5 courses).
  3. Counting. The courses on both lists are Medical Image Processing and Biometric Systems: each touches 2 interests. There are 8 + 5 − 2 = 11 distinct courses; the other 9 (6 + 3) touch 1 interest.
  4. Ranking. Medical Image Processing and Biometric Systems come first. The student can start there and widen with single-interest courses such as Computer Vision and Explainable AI.

The ranking is a starting point, not a decision. Choosing by interest does not remove prerequisites; if the chosen course has prerequisites, they come first.

Common mistake

Choosing only the courses that touch the most interests. A course that touches many interests is often a crossing-point course and may not serve a deep side of the interest. The top-ranked course and the course that teaches the topic you care about most may be different.

40.6Summary

  • Courses are told apart not by algorithm but by six criteria: approach, input, output, success measure, math load, data needs; the most telling are output and measure.
  • Often-confused pairs are of three kinds: same input but different output, shared methods but different goals, and framework and part.
  • A problem is split into parts by input, output and success measure; most problems are a combination of several courses.
  • Six roadmaps (vision, language, data, robotics, theory, production) run from prerequisites to specialization and cross each other.
  • Choosing by interest ranks courses by how many interests they touch; the ranking is a starting point and does not replace prerequisites.

40.7Test Yourself

  1. How do the output and success measure rows differ in the profiles of Image Processing and Computer Vision?

    Answer

    In Image Processing the output is a processed image or regions and the measure is visual quality, PSNR. In Computer Vision the output is a label, box, depth or 3D structure and the measure is accuracy, mAP and IoU. The input is the same; extracting meaning changes the output and the measure.

  2. In an interest selection, list A has 6 courses, list B has 4, and 2 courses are on both lists. How many distinct courses are there, and how many touch 2 interests?

    Answer

    The number of distinct courses is 6 + 4 − 2 = 8. The 2 courses on both lists touch 2 interests; the other 6 touch 1.

  3. A track has 6 courses. A student follows two tracks that share 2 courses. How many courses does the student take?

    Answer

    6 + 6 − 2 = 10 courses. Shared courses are taken once; the second track adds 4 courses.

  4. A course appears at positions 5, 4 and 2 in the lists of three tracks. Which course is it, and which tracks?

    Answer

    Deep Learning: 5th in the Vision track, 4th in the Language track, 2nd in the Production track (count the positions in the track orders).

  5. Controlling an oven's temperature with rules like "a bit hot" and "very hot": which course, and why not Machine Learning?

    Answer

    Fuzzy Logic: linguistic rules without sharp boundaries, used for control, are the classic application of this course. Here there is no model learned from examples, only hand-written rules.

  6. Which courses are involved in catching unusual connections in a bank's network traffic?

    Answer

    Outlier detection comes from data mining. Because an attacker adapts, the problem is also a cybersecurity problem. Answer: Data Mining and AI in Cybersecurity.

40.8Further reading

  • S. Russell and P. Norvig, Artificial Intelligence: A Modern Approach: shows the branches of artificial intelligence together in one book; a broad background for the map in this guide.
  • T. M. Mitchell, Machine Learning (1997): defines machine learning by its measures and methods; a good start for seeing how it differs from data mining and statistics.
  • T. Hastie, R. Tibshirani and J. Friedman, The Elements of Statistical Learning: covers the methods shared by statistics and machine learning with mathematical depth; suited to readers on the Theory track.

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