Skip to content

Commit ec09357

Browse files
Merge pull request #49638 from ShawnKupfer/WB1726
AB#1037347: Select and customize architectures and hyperparameters us…
2 parents b1b8998 + 3a5afb9 commit ec09357

18 files changed

+273
-253
lines changed
Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.machinelearning.machine-learning-architectures-and-hyperparameters.introduction
3-
title: Introduction
4-
metadata:
5-
title: Introduction
6-
description: Introduction to the introduction to regression module.
7-
ms.date: 07/21/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.machine-learning-architectures-and-hyperparameters.introduction
3+
title: Introduction
4+
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
7+
title: Introduction
8+
description: Introduction to the introduction to regression module.
9+
ms.date: 03/24/2025
10+
author: s-polly
11+
ms.author: scottpolly
12+
ms.topic: unit
13+
durationInMinutes: 2
14+
content: |
15+
[!include[](includes/1-introduction.md)]
Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.machinelearning.machine-learning-architectures-and-hyperparameters.decision-trees
3-
title: Decision trees and model architecture
4-
metadata:
5-
title: Decision trees and model architecture
6-
description: Conceptual unit about decision trees and model architecture
7-
ms.date: 07/21/2024
8-
author: s-polly
9-
ms.author: scottpolly
10-
ms.topic: unit
11-
durationInMinutes: 4
12-
content: |
13-
[!include[](includes/2-decision-trees.md)]
1+
### YamlMime:ModuleUnit
2+
uid: learn.machinelearning.machine-learning-architectures-and-hyperparameters.decision-trees
3+
title: Decision trees and model architecture
4+
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
7+
title: Decision trees and model architecture
8+
description: Conceptual unit about decision trees and model architecture
9+
ms.date: 03/24/2025
10+
author: s-polly
11+
ms.author: scottpolly
12+
ms.topic: unit
13+
durationInMinutes: 4
14+
content: |
15+
[!include[](includes/2-decision-trees.md)]
Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.machinelearning.machine-learning-architectures-and-hyperparameters.exercise-decision-trees
3-
title: Exercise - Decision trees and model architecture
4-
metadata:
5-
title: Exercise - Decision trees and model architecture
6-
description: Learn how to build a simple model.
7-
ms.date: 07/21/2024
8-
author: s-polly
9-
ms.author: scottpolly
10-
ms.topic: unit
11-
durationInMinutes: 8
12-
sandbox: true
13-
notebook: notebooks/7-3-exercise-decision-trees.ipynb
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.machinelearning.machine-learning-architectures-and-hyperparameters.exercise-decision-trees
3+
title: Exercise - Decision trees and model architecture
4+
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
7+
title: Exercise - Decision trees and model architecture
8+
description: Learn how to build a simple model.
9+
ms.date: 03/24/2025
10+
author: s-polly
11+
ms.author: scottpolly
12+
ms.topic: unit
13+
durationInMinutes: 8
14+
sandbox: true
15+
notebook: notebooks/7-3-exercise-decision-trees.ipynb
16+
Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.machinelearning.machine-learning-architectures-and-hyperparameters.random-forests
3-
title: Random forests and selecting architectures
4-
metadata:
5-
title: Random forests and selecting architectures
6-
description: Conceptual unit about random forests and selecting architectures
7-
ms.date: 07/21/2024
8-
author: s-polly
9-
ms.author: scottpolly
10-
ms.topic: unit
11-
durationInMinutes: 4
12-
content: |
13-
[!include[](includes/4-random-forests.md)]
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.machinelearning.machine-learning-architectures-and-hyperparameters.random-forests
3+
title: Random forests and selecting architectures
4+
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
7+
title: Random forests and selecting architectures
8+
description: Conceptual unit about random forests and selecting architectures
9+
ms.date: 03/24/2025
10+
author: s-polly
11+
ms.author: scottpolly
12+
ms.topic: unit
13+
durationInMinutes: 4
14+
content: |
15+
[!include[](includes/4-random-forests.md)]
16+
Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.machinelearning.machine-learning-architectures-and-hyperparameters.exercise-random-forests
3-
title: Exercise - Selecting random forest architectures
4-
metadata:
5-
title: Exercise - Selecting random forest architectures
6-
description: Exercise about selecting random forest architectures
7-
ms.date: 07/21/2024
8-
author: s-polly
9-
ms.author: scottpolly
10-
ms.topic: unit
11-
durationInMinutes: 10
12-
sandbox: true
13-
notebook: notebooks/7-5-exercise-random-forests.ipynb
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.machinelearning.machine-learning-architectures-and-hyperparameters.exercise-random-forests
3+
title: Exercise - Selecting random forest architectures
4+
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
7+
title: Exercise - Selecting random forest architectures
8+
description: Exercise about selecting random forest architectures
9+
ms.date: 03/24/2025
10+
author: s-polly
11+
ms.author: scottpolly
12+
ms.topic: unit
13+
durationInMinutes: 10
14+
sandbox: true
15+
notebook: notebooks/7-5-exercise-random-forests.ipynb
16+
Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.machinelearning.machine-learning-architectures-and-hyperparameters.hyperparameters
3-
title: Hyperparameters in classification
4-
metadata:
5-
title: Hyperparameters in classification
6-
description: Conceptual unit about hyperparameters in classification
7-
ms.date: 07/21/2024
8-
author: s-polly
9-
ms.author: scottpolly
10-
ms.topic: unit
11-
durationInMinutes: 6
12-
content: |
13-
[!include[](includes/6-hyperparameters.md)]
1+
### YamlMime:ModuleUnit
2+
uid: learn.machinelearning.machine-learning-architectures-and-hyperparameters.hyperparameters
3+
title: Hyperparameters in classification
4+
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
7+
title: Hyperparameters in classification
8+
description: Conceptual unit about hyperparameters in classification
9+
ms.date: 03/24/2025
10+
author: s-polly
11+
ms.author: scottpolly
12+
ms.topic: unit
13+
durationInMinutes: 6
14+
content: |
15+
[!include[](includes/6-hyperparameters.md)]
Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.machinelearning.machine-learning-architectures-and-hyperparameters.exercise-hyperparameters-tuning
3-
title: Exercise - Hyperparameter tuning with random forests
4-
metadata:
5-
title: Exercise - Hyperparameter tuning with random forests
6-
description: Exercise about hyperparameter tuning with random forests
7-
ms.date: 07/21/2024
8-
author: s-polly
9-
ms.author: scottpolly
10-
ms.topic: unit
11-
durationInMinutes: 12
12-
sandbox: true
13-
notebook: notebooks/7-7-exercise-hyperparameters-tuning.ipynb
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.machinelearning.machine-learning-architectures-and-hyperparameters.exercise-hyperparameters-tuning
3+
title: Exercise - Hyperparameter tuning with random forests
4+
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
7+
title: Exercise - Hyperparameter tuning with random forests
8+
description: Exercise about hyperparameter tuning with random forests
9+
ms.date: 03/24/2025
10+
author: s-polly
11+
ms.author: scottpolly
12+
ms.topic: unit
13+
durationInMinutes: 12
14+
sandbox: true
15+
notebook: notebooks/7-7-exercise-hyperparameters-tuning.ipynb
16+
Lines changed: 50 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,50 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.machinelearning.machine-learning-architectures-and-hyperparameters.knowledge-check
3-
title: Knowledge check
4-
metadata:
5-
title: Knowledge check
6-
description: Multiple-choice questions
7-
ms.date: 07/21/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: 'Decision trees are classification models that…'
16-
choices:
17-
- content: "Typically have excellent generalizability to test sets"
18-
isCorrect: false
19-
explanation: "Incorrect."
20-
- content: "Can only make binary (true/false) predictions"
21-
isCorrect: false
22-
explanation: "Incorrect."
23-
- content: "Typically overfit their training data"
24-
isCorrect: true
25-
explanation: "Correct."
26-
- content: 'What does selecting model architectures mean?'
27-
choices:
28-
- content: "Picking a model’s parameter values before training"
29-
isCorrect: false
30-
explanation: "Incorrect."
31-
- content: "Deciding how a model is structured"
32-
isCorrect: true
33-
explanation: "Correct."
34-
- content: "Selecting a 32-bit or 64-bit compilation option"
35-
isCorrect: false
36-
explanation: "Incorrect."
37-
- content: 'Hyperparameter selection can help give optimal models and…'
38-
choices:
39-
- content: "Refers to selecting values that change how the learning process works"
40-
isCorrect: false
41-
explanation: "Incorrect."
42-
- content: "Often requires experimentation to get right"
43-
isCorrect: false
44-
explanation: "Incorrect."
45-
- content: "All of the above"
46-
isCorrect: true
47-
explanation: "Correct."
48-
1+
### YamlMime:ModuleUnit
2+
uid: learn.machinelearning.machine-learning-architectures-and-hyperparameters.knowledge-check
3+
title: Knowledge check
4+
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
7+
title: Knowledge check
8+
description: Multiple-choice questions
9+
ms.date: 03/24/2025
10+
author: s-polly
11+
ms.author: scottpolly
12+
ms.topic: unit
13+
durationInMinutes: 3
14+
quiz:
15+
title: Check your knowledge
16+
questions:
17+
- content: 'Decision trees are classification models that…'
18+
choices:
19+
- content: "Typically have excellent generalizability to test sets"
20+
isCorrect: false
21+
explanation: "Incorrect."
22+
- content: "Can only make binary (true/false) predictions"
23+
isCorrect: false
24+
explanation: "Incorrect."
25+
- content: "Typically overfit their training data"
26+
isCorrect: true
27+
explanation: "Correct."
28+
- content: 'What does selecting model architectures mean?'
29+
choices:
30+
- content: "Picking a model's parameter values before training"
31+
isCorrect: false
32+
explanation: "Incorrect."
33+
- content: "Deciding how a model is structured"
34+
isCorrect: true
35+
explanation: "Correct."
36+
- content: "Selecting a 32-bit or 64-bit compilation option"
37+
isCorrect: false
38+
explanation: "Incorrect."
39+
- content: 'Hyperparameter selection can help give optimal models and…'
40+
choices:
41+
- content: "Refers to selecting values that change how the learning process works"
42+
isCorrect: false
43+
explanation: "Incorrect."
44+
- content: "Often requires experimentation to get right"
45+
isCorrect: false
46+
explanation: "Incorrect."
47+
- content: "All of the above"
48+
isCorrect: true
49+
explanation: "Correct."
50+
Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.machinelearning.machine-learning-architectures-and-hyperparameters.summary
3-
title: Summary
4-
metadata:
5-
title: Summary
6-
description: An overview of the content covered in the module.
7-
ms.date: 07/21/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.machine-learning-architectures-and-hyperparameters.summary
3+
title: Summary
4+
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
7+
title: Summary
8+
description: An overview of the content covered in the module.
9+
ms.date: 03/24/2025
10+
author: s-polly
11+
ms.author: scottpolly
12+
ms.topic: unit
13+
durationInMinutes: 3
14+
content: |
15+
[!include[](includes/9-summary.md)]

learn-pr/azure/machine-learning-architectures-and-hyperparameters/includes/1-introduction.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
Not all models are simple mathematical equations that can be plotted as a line. Instead, some complex models are easier thought of more like flow charts or traditional programming structures. Such models usually have extra levels of customization available, which can make them more powerful, though also trickier to work with. Throughout these exercises, we'll explore this by manipulating how models work and are trained. Although we'll focus on one type of model, the general principles taught here apply to many other model types as well.
1+
Not all models are simple mathematical equations that can be plotted as a line. Instead, it's easier to think of some complex models as more like flow charts or traditional programming structures. Such models usually have extra levels of customization available, which can make them more powerful, but also trickier to work with. This module explores this concept by manipulating how models work and how they're trained. Although we'll focus on one type of model, the general principles we cover here apply to many other model types as well.
22

33
## Scenario: Predicting sports results using machine learning
44

5-
Throughout this module, we'll refer to the following example scenario as we explain concepts surrounding model architecture and hyperparameters. This scenario is designed to appear complex at first, but as the exercises progress we'll learn how you can tackle it using a little critical thinking and experimentation.
5+
Throughout this module, we'll refer to the following example scenario as we explain concepts surrounding model architecture and hyperparameters. This scenario is designed to appear complex at first, but as the exercises progress, we'll learn how you can tackle it using a little critical thinking and experimentation.
66

7-
The Games' motto consists of three Latin words: Citius - Altius - Fortius. These words mean Faster - Higher - Stronger. Since this motto was established, the variety of games has grown enormously to include shooting, sailing, and team sports. We'd like to explore the role that basic physical features still play in predicting who wins a medal at one of the most prestigious sporting events on the planet. To this end, we'll explore rhythmic gymnastics: a modern addition to the games that combines dance, gymnastics, and calisthenics. One might expect that basic characteristics of age, height, and weight play only a limited role, given the need for agility, flexibility, dexterity, and coordination. Let's use some more advanced machine learning models to see how critical these basic factors really are.
7+
The Olympic Games' motto consists of three Latin words: *Citius*, *Altius*, *Fortius*. These words mean *Faster, Higher, Stronger*. Since this motto was established, the variety of games has grown enormously to include shooting, sailing, and team sports. We'd like to explore the role that basic physical features still play in predicting who wins a medal at one of the most prestigious sporting events on the planet. To this end, we'll explore rhythmic gymnastics: a modern addition to the games that combines dance, gymnastics, and calisthenics. One might expect that basic characteristics of age, height, and weight play only a limited role, given the need for agility, flexibility, dexterity, and coordination. Let's use some more advanced machine learning models to see how critical these basic factors really are.
88

99
## Prerequisites
1010

0 commit comments

Comments
 (0)