Skip to content

Commit 1cbc25b

Browse files
Merge pull request #1908 from rmothukuru:patch-1
PiperOrigin-RevId: 379726505
2 parents 36ae3a5 + e1f4792 commit 1cbc25b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

site/en/tutorials/keras/regression.ipynb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@
290290
"\n",
291291
"Now split the dataset into a training set and a test set.\n",
292292
"\n",
293-
"Use the test set in the final evaluation of our models."
293+
"Use the test set in the final evaluation of your models."
294294
]
295295
},
296296
{
@@ -407,7 +407,9 @@
407407
"\n",
408408
"One reason this is important is because the features are multiplied by the model weights. So the scale of the outputs and the scale of the gradients are affected by the scale of the inputs. \n",
409409
"\n",
410-
"Although a model *might* converge without feature normalization, normalization makes training much more stable. "
410+
"Although a model *might* converge without feature normalization, normalization makes training much more stable.\n",
411+
"\n",
412+
"Note: There is no advantage to normalizing the one-hot features, it is done here for simplicity. For more details on how to use the preprocessing layers, refer the [Working with preprocessing layers](https://www.tensorflow.org/guide/keras/preprocessing_layers) guide and the [Classify structured data using Keras preprocessing layers](https://www.tensorflow.org/tutorials/structured_data/preprocessing_layers) tutorial."
411413
]
412414
},
413415
{

0 commit comments

Comments
 (0)