it is indeed in the lesson, however, the hello world lab notes ALSO import keras (just a couple of lines above the section in your screenshot). And the line of code from Hello World does not work in the House Pricing lesson-
model = tf.keras.Sequential([keras.layers.Dense(units=1, input_shape=[1])])
…you get the below error.
in house_model()
11
12 # Define your model (should be a model with 1 dense layer and 1 unit)
—> 13 model = tf.keras.Sequential([keras.layers.Dense(units=1, input_shape=[1])])
NameError: name ‘keras’ is not defined
Without adding “tf.” to the second instance of keras in that line of code, it will not work. This is what I meant about this not being covered in the coursework- there’s literally no mention of what to do when you haven’t imported keras.
model = tf.keras.Sequential([tf.keras.layers.Dense(units=1, input_shape=[1])])
.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,^^