We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73fea48 commit 309b821Copy full SHA for 309b821
kerasTUT/4-regressor_example.py
@@ -29,8 +29,8 @@
29
30
# build a neural network from the 1st layer to the last layer
31
model = Sequential()
32
-# update Dense arg 'units' here
33
-model.add(Dense(units=1, input_dim=1)) # edit same line1
+
+model.add(Dense(units=1, input_dim=1))
34
35
# choose loss function and optimizing method
36
model.compile(loss='mse', optimizer='sgd')
0 commit comments