Introduction

Run your first Python code and understand how ML code starts.

Machine Learning is a field of Artificial Intelligence where computers learn patterns from data instead of being directly programmed.

Welcome to your first Machine Learning exercise.

Goal

Run your first Python code and understand how ML code starts.

Example

Instead of telling a computer every rule for identifying spam emails, we give it examples of spam and non-spam emails. The machine learns the pattern.

Types of Machine Learning

  • Supervised Learning — learns from labeled data
  • Unsupervised Learning — finds patterns in unlabeled data
  • Reinforcement Learning — learns by rewards and penalties

Practice

Try It Yourself

Open the practice lab to complete the starter code in the notebook.

Knowledge Check

Quick Quiz

What does machine learning learn from?

Summary

Key Takeaways

  • Machine learning learns patterns from data instead of hard-coded rules.
  • Supervised, unsupervised, and reinforcement learning are the main types.
  • Python notebooks are a practical way to start experimenting with ML code.