Programming Assignment: Housing Prices

Hi,

I have implemented the house_model function as shown:

NameError: name ‘keras’ is not defined

I know that keras is imported in tensorflow itself and I do import tensorflow as tf. Inspite of this why am I getting this error?

You should not be posting code here. When it says its not defined it means that you you havent run the cell where that line is importing keras.

Hi @gent.spah ,

I ran each and every cell in the notebook in the orderly fashion. I even upgraded my notebook in the hope it would fix the problem.

If I can I would send you the notebook via a personal message.

Yeah send it over I will have a look at if I can find any issue.

Is your problem resolved? I am also having the same issue while submitting.

1 Like