Week 1 Assignment: Housing Prices

Hi,

For the week 1 assignments the keras library from tensorflow is not imported in the notebook. Also to prevent errors in autograding we are not allowed to edit any cells and are only allowed to write code between codeblocks. I have tried to add one cell below the import statement cells for importing the keras library but when autograding the following error is given:

> "There was a problem compiling the code from your notebook. Details:
> name 'keras' is not defined"

Please do note that the following error is only given when submitting the code for grading purposes all the cells inside the notebook run without errors

Please can you just add the import statement for importing the keras library?

Now I refreshed my workspace and then tried to implement the code. Now I get an error while training the model.

The screenshots of my import statements and error messages are as shown:


The tensorflow library has already been imported as tf, so you can access anything from keras by starting with tf.keras.