Skip to content

Commit 97ecddc

Browse files
committed
2 parents 63dda95 + 58c0e90 commit 97ecddc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

05a - Deep Neural Networks (TensorFlow).ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"cell_type": "markdown",
8080
"source": [
8181
"### Prepare the Data for Tensorflow\n",
82-
"We've already loaded our data and split it into training and validation datasets. However, we need to do some further data preparation so that our data will work correctly with Tensorflow. Specifically, we need to set the data type of our labels to 32-bit floating point numbers, and specify that the labels represent categorical classes rather than numeric values."
82+
"We've already loaded our data and split it into training and validation datasets. However, we need to do some further data preparation so that our data will work correctly with Tensorflow. Specifically, we need to set the data type of our features to 32-bit floating point numbers, and specify that the labels represent categorical classes rather than numeric values."
8383
]
8484
},
8585
{
@@ -137,7 +137,7 @@
137137
"### Train the Model\n",
138138
"To train the model, we need to repeatedly feed the training values forward through the network, use a loss function to calculate the loss, use an optimizer to backpropagate the weight and bias value adjustments, and validate the model using the test data we withheld.\n",
139139
"\n",
140-
"To do this, we'll apply a Stochastic Gradient Descent optimizer to a categorical cross-entropy loss function iteratively over 100 epochs."
140+
"To do this, we'll apply a Stochastic Gradient Descent optimizer to a categorical cross-entropy loss function iteratively over 50 epochs."
141141
]
142142
},
143143
{
@@ -326,4 +326,4 @@
326326
},
327327
"nbformat": 4,
328328
"nbformat_minor": 2
329-
}
329+
}

0 commit comments

Comments
 (0)