Need help with the House Price Assignment!

Hello Amariah,

I hope you have done DLS specialisation before doing TF specialisation as it helps you understand concepts better.

You got two errors

  1. Your error is because you didn’t define your new_x rightly as per the instructions given just above the place you write your code. You were suppose to write the code only for 6 bedrooms and not 13. See the image I have shared where it is highlighted compare to your grader cell. please note the numerical you selected are correct for xs and ys but they need to be only 6 in numbers and not 13.
  2. They have mentioned to use tf.keras instead of keras but they didn’t tell you to remove models (see again the attached image for this correction). you missed adding models.

Do these corrections.

I also noticed in your grader cell after ###END CODE HERE
it is mentioned as print(model.predict([4.0]))==== I hope this was not done by you as I don’t know if the assignment was updated since I did this assignment. I have shared the image of my grader cell and it is mentioned as return model. So in case you have done those changes kindly change it back to the way it was as it will not allow you to pass the grader.

One must know only the part between ###START CODE HERE to ### END CODE HERE can be edited. Sometimes even this section has some part of the code given from before which are not suppose to be removed. We are only suppose to write the code.

Please do all these correction and check if you have passed the assignment. Let me know once you have solved the issue.

All the best!!

Keep Learning!!!

Regards
DP