Hi Reader, On Friday, I announced my forthcoming book, Master Machine Learning with scikit-learn. In response, my Dad asked me: How does the subject of this book relate to Artificial Intelligence? In other words: What's the difference between AI and Machine Learning? Ponder that question for a minute, then keep reading to find out how I answered my Dad... π AI vs Machine LearningHere's what I told my Dad:
You can think of AI as a field dedicated to creating intelligent systems, and Machine Learning is the dominant approach (but not the only approach) for achieving that intelligence.
Let's break that down further... The goal of AI is to create systems that behave intelligently, meaning they simulate (and sometimes surpass) human intelligence. You can think of AI as both a field of study and a goal to achieve. Examples of AI are all around us:
Machine Learning, on the other hand, is an approach for achieving AI. Specifically, Machine Learning focuses on algorithms that can automatically learn patterns from data in order to make decisions in new situations that they were not explicitly programmed to handle. Here are some examples of Machine Learning to make this concept more concrete:
While Machine Learning is the dominant approach for achieving AI, it is not the only approach. Here are a few other approaches:
Finally, it's worth noting that modern AI systems often combine Machine Learning and non-Machine Learning approaches. For example, a self-driving car might use Machine Learning to recognize a stop sign but a rule-based system to decide how to react to that stop sign. Summary: AI is a field that creates intelligent systems, and Machine Learning is the dominant approach for achieving that intelligence by learning patterns from data. How did I do? Is there a different way you would explain this to your parent (or boss)? Reply and let me know! - Kevin P.S. FaceTime for parrots (not a joke) π¦ |
Join 25,000+ intelligent readers and receive AI tips every Tuesday!
Hi Reader, Yesterday, I posted this announcement on LinkedIn and Bluesky and X: Kevin Markham @justmarkham Dream unlocked: I'm publishing my first book! πππ It's called "Master Machine Learning with scikit-learn: A Practical Guide to Building Better Models with Python" Download the first 3 chapters right now: π https://dataschool.kit.com/mlbook π Thanks for your support π 1:47 PM β’ Sep 11, 2025 1 Retweets 5 Likes Read 1 replies This has been a dream of mine for many years, and I'm so excited...
Hi Reader, Hope youβve had a nice summer! βοΈ As for me, Iβve been finishing my first ever book! I canβt wait to tell you about it and invite you to be part of the launchβ¦ stay tuned π Today's email focuses on a single important topic: AIβs impact on your mental health π§ Read more below! π Sponsored by: Morning Brew The 5-Minute Newsletter That Makes Business Make Sense Business news doesn't have to be dry. Morning Brew gives you the biggest stories in business, tech, and finance with quick...
Hi Reader, Most of us access Large Language Models (LLMs) through a web interface, like ChatGPT or Claude. Itβs highly convenient, though there are two potential drawbacks: Cost: Some amount of usage is free, but heavy usage (or access to premium models) costs money. Privacy: Depending on the service, your chats may be used to train future models. (Or at the very least, your chats may be accessed if ordered by a court.) One solution is to run an LLM locally, which has gotten much easier with...