Question: NameError Traceback ( most recent call last ) Cell In [ 2 ] , line 2 6 2 3 model.add ( layers . Flatten (
NameError Traceback most recent call last
Cell In line
model.addlayersFlatteninputshape
# Tune the number of hidden layers
for i in rangehpIntnumlayers', :
# Tune the size of the hidden layers
model.addlayersDenseunitshpIntunits stri
activation'relu'
# Set dropout for all hidden layers except the last one
NameError: name hp is not defined
how to remove this error?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
