"This dataset is much smaller than the others we've worked with so far: it has 506 total examples are split between 404 training examples and 102 test examples:"
]
...
...
@@ -319,7 +319,7 @@
},
"cell_type": "code",
"source": [
"# Test data is *not* used when calculating the mean and std.\n",
"# Test data is *not* used when calculating the mean and std\n",
"\n",
"mean = train_data.mean(axis=0)\n",
"std = train_data.std(axis=0)\n",
...
...
@@ -338,7 +338,7 @@
},
"cell_type": "markdown",
"source": [
"Although the model *might* converge without feature normalization, it makes training more difficult, and it makes the resulting model more dependant on the choice of units used in the input."
"Although the model *might* converge without feature normalization, it makes training more difficult, and it makes the resulting model more dependent on the choice of units used in the input."