Skip to content

Commit cec8a8a

Browse files
authored
Merge pull request #51071 from v-thpra/azure-triage-fix-1058587
Technical Review 1058587: Introduction to TensorFlow using Keras
2 parents 2840a1e + 4d41b7c commit cec8a8a

File tree

10 files changed

+36
-33
lines changed

10 files changed

+36
-33
lines changed

learn-pr/tensorflow/intro-machine-learning-keras/1-introduction.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ title: Introduction
44
metadata:
55
title: Introduction
66
description: Learn about Keras, a high-level API for the TensorFlow machine learning framework.
7-
author: bstollnitz
8-
ms.author: bstollnitz
9-
ms.date: 07/17/2023
7+
author: robmcm
8+
ms.author: robmcm
9+
ms.date: 06/23/2025
1010
ms.topic: unit
1111
ms.product: learning-tensorflow
1212
ms.contributors:

learn-pr/tensorflow/intro-machine-learning-keras/2-data.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ title: Data
44
metadata:
55
title: Data
66
description: Learn how to get your data ready for use by a neural network.
7-
ms.date: 07/17/2023
8-
author: bstollnitz
9-
ms.author: bstollnitz
7+
ms.date: 06/23/2025
8+
author: robmcm
9+
ms.author: robmcm
1010
ms.topic: unit
1111
ms.product: learning-tensorflow
1212
ms.contributors:
@@ -23,13 +23,13 @@ quiz:
2323
choices:
2424
- content: "We didn't need to. For a small amount of data like in this sample, we could just use NumPy arrays."
2525
isCorrect: false
26-
explanation: "This is true, but other options are also true."
26+
explanation: "This option is true, but other options are also true."
2727
- content: "It's a good idea to learn about it, especially if we're going to work with larger data in the future."
2828
isCorrect: false
29-
explanation: "This is true, but other options are also true."
29+
explanation: "This option is true, but other options are also true."
3030
- content: "Because it returns our data in batches of 64 images when we iterate over it, which we use later when training."
3131
isCorrect: false
32-
explanation: "This is true, but other options are also true."
33-
- content: "All of the above."
32+
explanation: "This option is true, but other options are also true."
33+
- content: "All of these options are true."
3434
isCorrect: true
3535
explanation: "Correct!"

learn-pr/tensorflow/intro-machine-learning-keras/3-neural-network.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ title: Neural network architecture
44
metadata:
55
title: Neural network architecture
66
description: Learn how to create a neural network using Keras and TensorFlow.
7-
ms.date: 07/17/2023
8-
author: bstollnitz
9-
ms.author: bstollnitz
7+
ms.date: 06/23/2025
8+
author: robmcm
9+
ms.author: robmcm
1010
ms.topic: unit
1111
ms.product: learning-tensorflow
1212
ms.contributors:

learn-pr/tensorflow/intro-machine-learning-keras/4-train.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ title: Training and testing the neural network
44
metadata:
55
title: Training and testing the neural network
66
description: Learn how to train your neural network using the training data, and how to evaluate it using the test data.
7-
ms.date: 07/17/2023
8-
author: bstollnitz
9-
ms.author: bstollnitz
7+
ms.date: 06/23/2025
8+
author: robmcm
9+
ms.author: robmcm
1010
ms.topic: unit
1111
ms.product: learning-tensorflow
1212
ms.contributors:

learn-pr/tensorflow/intro-machine-learning-keras/5-predict.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ title: Making a prediction
44
metadata:
55
title: Making a prediction
66
description: Learn how to make a prediction by using your trained neural network.
7-
ms.date: 07/17/2023
8-
author: bstollnitz
9-
ms.author: bstollnitz
7+
ms.date: 06/23/2025
8+
author: robmcm
9+
ms.author: robmcm
1010
ms.topic: unit
1111
ms.product: learning-tensorflow
1212
ms.contributors:
@@ -29,7 +29,7 @@ quiz:
2929
explanation: "Incorrect. Our model generalizes beyond the training data. In fact, it makes good predictions for test data."
3030
- content: "Only images in the training data or test data."
3131
isCorrect: false
32-
explanation: "Incorrect. You saw it work for test data that the model hadn't seen during training. You can imagine that it works similarly for other images it hasn't seen."
32+
explanation: "Incorrect. You saw it work for test data that the model didn't see during training. You can imagine that it works similarly for other images it didn't see."
3333
- content: "Any image, so long as it's in the format expected by the model."
3434
isCorrect: true
3535
explanation: "Correct! The more similar the prediction images are to the images in the training data, the better the predictions are."

learn-pr/tensorflow/intro-machine-learning-keras/6-summary.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ title: Summary
44
metadata:
55
title: Summary
66
description: Review what you learned about Keras and TensorFlow machine learning models.
7-
ms.date: 07/17/2023
8-
author: bstollnitz
9-
ms.author: bstollnitz
7+
ms.date: 06/23/2025
8+
author: robmcm
9+
ms.author: robmcm
1010
ms.topic: unit
1111
ms.product: learning-tensorflow
1212
ms.contributors: bstollnitz-08202021
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11

2-
TensorFlow is a popular framework for working with machine learning. This module covers Keras, which is a higher-level and user-friendly API that's released as part of TensorFlow. For many scenarios, the level of abstraction provided by Keras gives you all the functionality you need, without the complexity of the lower-level concepts of TensorFlow.
2+
TensorFlow is a popular framework for working with machine learning. This module covers Keras, which is a higher-level and user-friendly API released as part of TensorFlow. For many scenarios, the level of abstraction provided by Keras gives you all the functionality you need, without the complexity of the lower-level concepts of TensorFlow.
33

4-
At the end of this module, if you feel that you need more flexibility than Keras provides, then the fifth module of this learning path, *Intro to Machine Learning with TensorFlow*, shows how to reimplement a portion of the Keras code in this module using lower-level TensorFlow APIs.
4+
At the end of this module, if you feel that you need more flexibility than Keras provides, then the fifth module of this learning path, *Go beyond Keras: Customize with TensorFlow*, shows how to reimplement a portion of the Keras code in this module using lower-level TensorFlow APIs.
55

6-
Both this module and module five show how you can create a basic neural network using the Fashion MNIST dataset as a data source. You'll build a neural network that takes images of clothing as input, and then classifies them according to their contents, such as *Shirt*, *Coat*, or *Dress*.
6+
Both this module and module five show how you can create a basic neural network using the Fashion MNIST dataset as a data source. You're going to build a neural network that takes images of clothing as input, and then classifies them according to their contents, such as *Shirt*, *Coat*, or *Dress*.
77

88
For this module, we assume that you're comfortable with Python, but we don't assume any knowledge of Keras or TensorFlow.
99

1010
Let's get started!
1111

1212
## Learning objectives
13+
1314
- Learn to load and prepare data to be used in machine learning.
1415
- Learn to specify the architecture of a deep learning neural network.
1516
- Learn to train a neural network.
1617
- Learn to make a prediction by using a neural network.
1718

1819
## Prerequisites
20+
1921
- Knowledge of Python
2022
- Basic knowledge about how to use Jupyter Notebooks

learn-pr/tensorflow/intro-machine-learning-keras/index.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
### YamlMime:Module
22
uid: learn.tensorflow.intro-machine-learning-keras
33
metadata:
4+
ms.service: azure-machine-learning
45
title: Introduction to TensorFlow using Keras
56
description: Learn how to build a TensorFlow machine learning model using the Keras API.
6-
ms.date: 07/17/2023
7-
author: bstollnitz
8-
ms.author: bstollnitz
7+
ms.date: 06/23/2025
8+
author: robmcm
9+
ms.author: robmcm
910
ms.topic: module
1011
ms.custom: team=cloud_advocates
1112
ms.contributors: bstollnitz-08202021
1213
title: Introduction to TensorFlow using Keras
13-
summary: This module provides all the concepts and practical knowledge you need to get started with TensorFlow. We explore Keras, a high-level API released as part of TensorFlow, and use it to build a simple neural network for image classification.
14+
summary: This module provides all the concepts and practical knowledge you need to get started with TensorFlow. We explore Keras, a high-level API released as part of TensorFlow, and use it to build a neural network for image classification.
1415
abstract: |
1516
In this module you will:
1617
- Learn to load and prepare data to be used in machine learning.

learn-pr/tensorflow/intro-machine-learning-keras/notebooks/4-train.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
"metadata": {},
150150
"outputs": [],
151151
"source": [
152-
" model.save('outputs/model')"
152+
"model.save('outputs/model')"
153153
]
154154
},
155155
{

learn-pr/tensorflow/intro-machine-learning-keras/notebooks/5-predict.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@
4444
},
4545
{
4646
"cell_type": "code",
47-
"execution_count": 3,
47+
"execution_count": null,
4848
"metadata": {},
4949
"outputs": [],
5050
"source": [
51-
" model = tf.keras.models.load_model('outputs/model')"
51+
"model = tf.keras.models.load_model('outputs/model')"
5252
]
5353
},
5454
{

0 commit comments

Comments
 (0)