Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the following code that we used to classify the income of adults in the US . inputs = tf . keras.layers.Dense ( units =
Consider the following code that we used to classify the income of adults in the US
inputs tfkeras.layers.Denseunits activation'relu', inputshapelenfeaturescolumns
hidden tfkeras.layers.Denseunits activation'relu'
outputs tfkeras.layers.Denseunits activationTO BE FILLED
model tfkeras.Sequentialinputs hidden, outputs
loss 'sparsecategoricalcrossentropy'
optimizer tfkeras.optimizers.RMSprop
model.compilelossloss, optimizeroptimizer, metricsaccuracy
What was the activation function used on the output layer in this deep neural network?
Group of answer choices
softmax
relu
sigmoid
softplus
tanh
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started