# Machine Learning

### About this export

| Field | Value |
| --- | --- |
| **content_type** | lesson |
| **platform** | contentstack-academy |
| **source_url** | https://www.contentstack.com/academy/courses/ai-foundations/machine-learning |
| **course_slug** | ai-foundations |
| **lesson_slug** | machine-learning |
| **markdown_file_url** | /academy/md/courses/ai-foundations/machine-learning.md |
| **generated_at** | 2026-05-18T10:08:42.395Z |

> Part of **[AI Foundations](https://www.contentstack.com/academy/courses/ai-foundations)** on Contentstack Academy. **Academy MD v3** — structured for retrieval; no quiz or assessment keys.

<!-- ai_metadata: {"lesson_id":"03","type":"video","duration_seconds":349,"video_url":"https://cdn.jwplayer.com/previews/IneY7znY","thumbnail_url":"https://cdn.jwplayer.com/v2/media/IneY7znY/poster.jpg?width=720","topics":["Machine","Learning"]} -->

#### Video details

#### At a glance

- **Title:** Machine Learning
- **Duration:** 5m 49s
- **Media link:** https://cdn.jwplayer.com/previews/IneY7znY
- **Publish date (unix):** 1714422339

#### Streaming renditions

- application/vnd.apple.mpegurl
- audio/mp4 · AAC Audio · 113493 kbps
- video/mp4 · 180p · 180p · 187830 kbps
- video/mp4 · 270p · 270p · 248383 kbps
- video/mp4 · 360p · 360p · 301188 kbps
- video/mp4 · 406p · 406p · 343227 kbps
- video/mp4 · 540p · 540p · 479933 kbps
- video/mp4 · 720p · 720p · 722449 kbps
- video/mp4 · 1080p · 1080p · 1674544 kbps

#### Timed text tracks (delivery)

- **thumbnails:** `https://cdn.jwplayer.com/strips/IneY7znY-120.vtt`

#### Video transcript

Machine learning is a critical aspect of artificial intelligence, but the two aren't the same. AI is a broad field focused on making computers mimic human intelligence. Machine learning, on the other hand, is a subset of AI focused on teaching computers to learn from data. To understand this data-driven approach, let's contrast it with traditional programming found in many software applications. In traditional programming, developers craft explicit instructions and rules for every scenario. For example, if a user inputs the wrong username or password, the program will display a specific error message. Or, if the balance of your bank account falls below a certain threshold, it could trigger a notification. Or if a player's score reaches a certain level, it could unlock a new game level. This approach is highly effective for tasks where the rules and outcomes are well-defined and predictable. However, machine learning diverges from this. Instead of starting with a comprehensive set of rules programmed by a developer, machine learning algorithms begin with data. They learn from this data, identifying patterns and making decisions based on the insights gained from the data that they were trained with. So there's no need for every possible situation to be predefined by a human programmer. Imagine showing someone a picture of a Springer Spaniel. The more pictures they see, the better they get at recognizing this specific breed of dog. Machine learning algorithms work in the same way. They're fed massive amounts of data, allowing them to identify patterns and improve their ability to perform tasks. This process is referred to as training a model, and a model is a decision-making tool based on its training. A common misconception is that the model somehow stores the information it was trained on, like a database. It doesn't. In our Springer Spaniel example, the model recognizes the patterns and features of the dog breed. The more diverse the training, the better it gets at recognizing these dogs. And if you were using image-based generative AI, and you asked for a Springer Spaniel, it would generate a new image based on those patterns. And if you wanted to know what image or images inspired that generation, that information isn't stored anywhere. Because it's not just a few images, it's thousands, maybe millions of photos it learned those patterns from. And while the Springer Spaniel example may seem basic, it does illustrate something machine learning is very good at, classification. Classification involves identifying which category a new observation belongs to. For example, after being trained on thousands of images labeled as either Springer Spaniel or German Shepherd, a machine learning model could accurately classify new images as being one or the other. This capability makes machine learning ideal for tasks ranging from email spam detection, where emails are classified as spam or not spam, to a medical diagnosis, where patient data can be classified to indicate the presence or absence of a disease. Beyond classification, machine learning is also good at clustering and regression. Clustering differs from classification in the sense that it can group information based on similarities without the help of labels. Regression is used for predicting outcomes based on data. Regression is a type of predictive modeling that analyzes the relationships between a dependent variable and one or more independent variables. As an example, let's say you're playing a bit of a guessing game. If you're trying to guess the score you'll get in a video game based on the number of hours you practice, the score you're trying to predict is the dependent variable because it depends on how much you practice. The hours you practice are the independent variables because they are what you think will change your score. So if you practice more, you expect your score to go up. This guessing game is a lot like regression. Let's look at a real world example. So in terms of regression, let's talk about used car prices. Let's say you're looking for a used car and you want to know how much you should expect to pay. You could gather data on various used cars being sold online or at dealerships, including all the parameters that would sway the car's price. And you would feed this data into the model, which would allow you to uncover factors that influence the final selling price. Regression would reveal which factors have the most impact. For example, high mileage often has a negative influence on price. This wouldn't be perfect. A well-maintained luxury car with high mileage might be worth more than a neglected economy car with low miles. But regression would give you a good starting point for negotiating a fair price. The trick of making this successful is quality data. And not just a little. A lot. That's why organizations put such an emphasis on collecting as much data as possible. The more data means you have more information to train your model.

#### Key takeaways

- Connect **Machine Learning** back to your stack configuration before moving to the next module.
- Capture one concrete artifact (screenshot, Postman call, or code snippet) that proves the step works in your environment.
- Re-read the delivery versus management boundary for anything you changed in the entry model.

## Supplement for indexing

### Content summary

Machine Learning. Machine Learning in AI Foundations (ai-foundations).

### Retrieval tags

- Machine
- Learning
- ai-foundations
- lesson 03
- Machine Learning
- ai-foundations lesson

### Indexing notes

Index this lesson as a primary chunk tagged with lesson_id "03" and topics: [Machine, Learning].
Parent course slug: ai-foundations. Use asset_references URLs as thumbnail hints in search results when present.
Never surface LMS quiz content or assessment answers from this file.

### Asset references

| Label | URL |
| --- | --- |
| Video thumbnail: Machine Learning | `https://cdn.jwplayer.com/v2/media/IneY7znY/poster.jpg?width=720` |

### External links

| Label | URL |
| --- | --- |
| Contentstack Academy home | `https://www.contentstack.com/academy/` |
| Training instance setup | `https://www.contentstack.com/academy/training-instance` |
| Academy playground (GitHub) | `https://github.com/contentstack/contentstack-academy-playground` |
| Contentstack documentation | `https://www.contentstack.com/docs/` |
