Example using code in Introduction to Machine Learning by Bernard Chapter 11

I have run the code before and it has worked with no problem until now

Loading the Dataset


Setting and Training a Neural Network...But it Fails


Adjusting the training and Validation Labels to Range Between 1 and 10 Solves the Problem


Final Comments

1. I have used the code in Etienne’s book and in other workshops with Wolfram Research in the past. The code worked and did not required to adjust the labels to values starting at 1!
2. Has there been any changes in the functions?
3. Am I doing something wrong?
​
​THANKS​
​