Skip to content

Commit cf2be88

Browse files
authored
pull base content,head:MicrosoftDocs:main,into:wwlpublishsync
2 parents 9339438 + 152a77e commit cf2be88

File tree

40 files changed

+442
-322
lines changed

40 files changed

+442
-322
lines changed
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.machinelearning.understand-classification-machine-learning.introduction
3-
title: Introduction
4-
metadata:
5-
title: Introduction
6-
description: Introduction to the introduction to regression module.
7-
ms.date: 07/20/2024
8-
author: s-polly
9-
ms.author: scottpolly
10-
ms.topic: unit
11-
durationInMinutes: 2
12-
content: |
13-
[!include[](includes/1-introduction.md)]
1+
### YamlMime:ModuleUnit
2+
uid: learn.machinelearning.understand-classification-machine-learning.introduction
3+
title: Introduction
4+
metadata:
5+
title: Introduction
6+
description: Introduction to the introduction to regression module.
7+
ms.date: 05/12/2025
8+
author: s-polly
9+
ms.author: scottpolly
10+
ms.topic: unit
11+
durationInMinutes: 2
12+
content: |
13+
[!include[](includes/1-introduction.md)]
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.machinelearning.understand-classification-machine-learning.what-is-classification
3-
title: What are classification models?
4-
metadata:
5-
title: What are classification models?
6-
description: Conceptual unit introducing what classification models are
7-
ms.date: 07/20/2024
8-
author: s-polly
9-
ms.author: scottpolly
10-
ms.topic: unit
11-
durationInMinutes: 4
12-
content: |
13-
[!include[](includes/2-what-is-classification.md)]
1+
### YamlMime:ModuleUnit
2+
uid: learn.machinelearning.understand-classification-machine-learning.what-is-classification
3+
title: What are classification models?
4+
metadata:
5+
title: What are classification models?
6+
description: Conceptual unit introducing what classification models are
7+
ms.date: 05/12/2025
8+
author: s-polly
9+
ms.author: scottpolly
10+
ms.topic: unit
11+
durationInMinutes: 4
12+
content: |
13+
[!include[](includes/2-what-is-classification.md)]
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.machinelearning.understand-classification-machine-learning.exercise-build-regression-model
3-
title: Exercise - Build a simple logistic regression model
4-
metadata:
5-
title: Exercise - Build a simple logistic regression model
6-
description: Learn how to build a simple logistic regression model.
7-
ms.date: 07/20/2024
8-
author: s-polly
9-
ms.author: scottpolly
10-
ms.topic: unit
11-
durationInMinutes: 8
12-
sandbox: true
13-
notebook: notebooks/6-3-exercise-build-regression-model.ipynb
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.machinelearning.understand-classification-machine-learning.exercise-build-regression-model
3+
title: Exercise - Build a simple logistic regression model
4+
metadata:
5+
title: Exercise - Build a simple logistic regression model
6+
description: Learn how to build a simple logistic regression model.
7+
ms.date: 05/12/2025
8+
author: s-polly
9+
ms.author: scottpolly
10+
ms.topic: unit
11+
durationInMinutes: 8
12+
sandbox: true
13+
notebook: notebooks/6-3-exercise-build-regression-model.ipynb
14+
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.machinelearning.understand-classification-machine-learning.assess-classification
3-
title: Assessing a classification model
4-
metadata:
5-
title: Assessing a classification model
6-
description: Conceptual unit about assessing a classification model
7-
ms.date: 07/20/2024
8-
author: s-polly
9-
ms.author: scottpolly
10-
ms.topic: unit
11-
durationInMinutes: 4
12-
content: |
13-
[!include[](includes/4-assess-classification.md)]
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.machinelearning.understand-classification-machine-learning.assess-classification
3+
title: Assessing a classification model
4+
metadata:
5+
title: Assessing a classification model
6+
description: Conceptual unit about assessing a classification model
7+
ms.date: 05/12/2025
8+
author: s-polly
9+
ms.author: scottpolly
10+
ms.topic: unit
11+
durationInMinutes: 4
12+
content: |
13+
[!include[](includes/4-assess-classification.md)]
14+
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.machinelearning.understand-classification-machine-learning.exercise-assess-regression-model
3-
title: Exercise - Assessing a logistic regression model
4-
metadata:
5-
title: Exercise - Assessing a logistic regression model
6-
description: Exercise unit learning to assess a logistic regression model
7-
ms.date: 07/20/2024
8-
author: s-polly
9-
ms.author: scottpolly
10-
ms.topic: unit
11-
durationInMinutes: 10
12-
sandbox: true
13-
notebook: notebooks/6-5-exercise-assess-regression-model.ipynb
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.machinelearning.understand-classification-machine-learning.exercise-assess-regression-model
3+
title: Exercise - Assessing a logistic regression model
4+
metadata:
5+
title: Exercise - Assessing a logistic regression model
6+
description: Exercise unit learning to assess a logistic regression model
7+
ms.date: 05/12/2025
8+
author: s-polly
9+
ms.author: scottpolly
10+
ms.topic: unit
11+
durationInMinutes: 10
12+
sandbox: true
13+
notebook: notebooks/6-5-exercise-assess-regression-model.ipynb
14+
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.machinelearning.understand-classification-machine-learning.improve-classification
3-
title: Improving classification models
4-
metadata:
5-
title: Improving classification models
6-
description: Conceptual unit about improving classification models in machine learning
7-
ms.date: 07/20/2024
8-
author: s-polly
9-
ms.author: scottpolly
10-
ms.topic: unit
11-
durationInMinutes: 6
12-
content: |
13-
[!include[](includes/6-improve-classification.md)]
1+
### YamlMime:ModuleUnit
2+
uid: learn.machinelearning.understand-classification-machine-learning.improve-classification
3+
title: Improving classification models
4+
metadata:
5+
title: Improving classification models
6+
description: Conceptual unit about improving classification models in machine learning
7+
ms.date: 05/12/2025
8+
author: s-polly
9+
ms.author: scottpolly
10+
ms.topic: unit
11+
durationInMinutes: 6
12+
content: |
13+
[!include[](includes/6-improve-classification.md)]
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.machinelearning.understand-classification-machine-learning.exercise-improve-classification
3-
title: Exercise - Improving classification models
4-
metadata:
5-
title: Exercise - Improving classification models
6-
description: Exercise about improving classification models in machine learning
7-
ms.date: 07/20/2024
8-
author: s-polly
9-
ms.author: scottpolly
10-
ms.topic: unit
11-
durationInMinutes: 12
12-
sandbox: true
13-
notebook: notebooks/6-7-exercise-improve-classification.ipynb
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.machinelearning.understand-classification-machine-learning.exercise-improve-classification
3+
title: Exercise - Improving classification models
4+
metadata:
5+
title: Exercise - Improving classification models
6+
description: Exercise about improving classification models in machine learning
7+
ms.date: 05/12/2025
8+
author: s-polly
9+
ms.author: scottpolly
10+
ms.topic: unit
11+
durationInMinutes: 12
12+
sandbox: true
13+
notebook: notebooks/6-7-exercise-improve-classification.ipynb
14+
Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.machinelearning.understand-classification-machine-learning.knowledge-check
3-
title: Module assessment
4-
metadata:
5-
title: Module assessment
6-
description: Multiple-choice questions
7-
ms.date: 07/20/2024
8-
author: s-polly
9-
ms.author: scottpolly
10-
ms.topic: unit
11-
durationInMinutes: 3
12-
quiz:
13-
title: Check your knowledge
14-
questions:
15-
- content: 'What is the difference between classical regression and classification models?'
16-
choices:
17-
- content: "Regression models provide labels such as cherry’/’banana but classification models calculate continuous numbers"
18-
isCorrect: false
19-
explanation: "Incorrect."
20-
- content: "Classification models and linear regression models are two names for the same thing"
21-
isCorrect: false
22-
explanation: "Incorrect."
23-
- content: "Classification models provide labels such as cherry’/’banana but regression models calculate continuous numbers"
24-
isCorrect: true
25-
explanation: "Correct."
26-
- content: 'How can we improve real-world model performance?'
27-
choices:
28-
- content: "By adding features"
29-
isCorrect: false
30-
explanation: "Incorrect."
31-
- content: "Both adding and removing features can be useful, depending on the situation"
32-
isCorrect: true
33-
explanation: "Correct."
34-
- content: "By removing features"
35-
isCorrect: false
36-
explanation: "Incorrect."
37-
- content: 'What is one reason why logistic regression uses log-loss rather than a more intuitive cost function?'
38-
choices:
39-
- content: "Log-loss is stricter about model errors, even if they're close to correct"
40-
isCorrect: true
41-
explanation: "Correct."
42-
- content: "It's the only way to calculate error for categorical labels"
43-
isCorrect: false
44-
explanation: "Incorrect."
45-
- content: "Log-loss is more permissive to model error if that error is close to correct"
46-
isCorrect: false
47-
explanation: "Incorrect."
48-
1+
### YamlMime:ModuleUnit
2+
uid: learn.machinelearning.understand-classification-machine-learning.knowledge-check
3+
title: Module assessment
4+
metadata:
5+
title: Module assessment
6+
description: Multiple-choice questions
7+
ms.date: 05/12/2025
8+
author: s-polly
9+
ms.author: scottpolly
10+
ms.topic: unit
11+
durationInMinutes: 3
12+
quiz:
13+
title: Check your knowledge
14+
questions:
15+
- content: "What's the difference between classical regression and classification models?"
16+
choices:
17+
- content: "Regression models provide labels such as 'cherry/'banana' but classification models calculate continuous numbers"
18+
isCorrect: false
19+
explanation: "Incorrect."
20+
- content: "Classification models and linear regression models are two names for the same thing"
21+
isCorrect: false
22+
explanation: "Incorrect."
23+
- content: "Classification models provide labels such as 'cherry'/'banana' but regression models calculate continuous numbers"
24+
isCorrect: true
25+
explanation: "Correct."
26+
- content: 'How can we improve real-world model performance?'
27+
choices:
28+
- content: "By adding features"
29+
isCorrect: false
30+
explanation: "Incorrect."
31+
- content: "Both adding and removing features can be useful, depending on the situation"
32+
isCorrect: true
33+
explanation: "Correct."
34+
- content: "By removing features"
35+
isCorrect: false
36+
explanation: "Incorrect."
37+
- content: 'What is one reason why logistic regression uses log-loss rather than a more intuitive cost function?'
38+
choices:
39+
- content: "Log-loss is stricter about model errors, even if they're close to correct"
40+
isCorrect: true
41+
explanation: "Correct."
42+
- content: "It's the only way to calculate error for categorical labels"
43+
isCorrect: false
44+
explanation: "Incorrect."
45+
- content: "Log-loss is more permissive to model error if that error is close to correct"
46+
isCorrect: false
47+
explanation: "Incorrect."
48+
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.machinelearning.understand-classification-machine-learning.summary
3-
title: Summary
4-
metadata:
5-
title: Summary
6-
description: An overview of the content covered in the module.
7-
ms.date: 07/20/2024
8-
author: s-polly
9-
ms.author: scottpolly
10-
ms.topic: unit
11-
durationInMinutes: 3
12-
content: |
13-
[!include[](includes/9-summary.md)]
1+
### YamlMime:ModuleUnit
2+
uid: learn.machinelearning.understand-classification-machine-learning.summary
3+
title: Summary
4+
metadata:
5+
title: Summary
6+
description: An overview of the content covered in the module.
7+
ms.date: 05/12/2025
8+
author: s-polly
9+
ms.author: scottpolly
10+
ms.topic: unit
11+
durationInMinutes: 3
12+
content: |
13+
[!include[](includes/9-summary.md)]
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
Classification models outputs are categorical, meaning they can be used for labeling inputs or decision making. For example, a self-driving car uses classification to decide whether to turn left or right at a fork in the road. A classification model is different from classical regression models where outputs are continuous, such as the size of a shoe or the speed of a train. Classification models are diverse in how they work. To get started, let's focus on logistic regression, which is a simpler and popular type of model that is used extensively across many arms of science and industry.
1+
Classification models' outputs are categorical, meaning they can be used for labeling inputs or decision making. For example, a self-driving car uses classification to decide whether to turn left or right at a fork in the road. A classification model is different from classical regression models where outputs are continuous, such as the size of a shoe or the speed of a train. Classification models are diverse in how they work. To get started, let's focus on logistic regression, which is a simpler and popular type of model that is used extensively across many arms of science and industry.
22

33
## Scenario: Predicting avalanches with machine learning
44

55
Throughout this module, we use the following example scenario to explain concepts related to classification. This scenario is designed to provide an example for how you might meet these concepts in your own programming.
66

7-
Your charity is responsible for avalanche-rescue operations at hiking trails across the northwest of the United States. Granted, the safest option would be to permanently close all trails during skiing and hiking season but that would mean no sportspeople would get to enjoy the great outdoors! Your goal is to build a model that can predict whether an individual day is likely to result in an avalanche. Then by using that prediction, you can close the trail when the risk is high. Keep in mind as you make predictions: Predicting avalanches that don't happen can hurt local tourism while failing to predict avalanches that do happen can result in loss of life. Clearly, a balance must be found.
7+
Your charity is responsible for avalanche-rescue operations at hiking trails across the northwest United States. Granted, the safest option would be to permanently close all trails during skiing and hiking season, but that would mean no sportspeople would get to enjoy the great outdoors! Your goal is to build a model that can predict whether an individual day is likely to result in an avalanche. Then, by using that prediction, you can close the trail when the risk is high. Keep in mind as you make predictions: predicting avalanches that don't happen can hurt local tourism, while failing to predict avalanches that do happen can result in loss of life. Clearly, you must find a balance.
88

99
> [!CAUTION]
10-
> The data for these exercises are fabricated and are solely for educational purposes. For those eager hikers and skiers out there: Machine learning can be used for avalanche prediction but dont use this data or your trained model for anything except learning about machine learning.
10+
> The data for these exercises is fabricated and solely for educational purposes. For those eager hikers and skiers out there: you can use machine learning for avalanche prediction, but don't use this data or your trained model for anything except learning about machine learning.
1111
1212
## Prerequisites
1313

@@ -17,6 +17,6 @@ Your charity is responsible for avalanche-rescue operations at hiking trails acr
1717

1818
In this module, you will:
1919

20-
* Discover how classification differs from classical regression
21-
* Build models that can perform classification tasks
22-
* Explore how to assess and improve classification models
20+
* Discover how classification differs from classical regression.
21+
* Build models that can perform classification tasks.
22+
* Explore how to assess and improve classification models.

0 commit comments

Comments
 (0)