Hello @TMosh and @Akram.al-saffah ,
Thank you both for sharing the file. Just now checked it.
- Your issue is what @TMosh has already mentioned.
It should be : def house_model() . Not def house_model(y_new).
-
Then you will get another error of keras is not defined. For that check this : C1W1 Lesson House Prices - import is missing keras? - #3 by nilosreesengupta
-
Next I also see you have added 1 cell after this for the model training part, passing a value to the model as well as a print statement which is not needed. Remove this cell.
Neither change anything else in the codes nor create any cell. You have both the required model training and testing cells below.
With regards,
Nilosree Sengupta