ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 97 - MLS-C01 discussion

Report
Export

A Machine Learning Specialist is building a convolutional neural network (CNN) that will classify 10 types of animals. The Specialist has built a series of layers in a neural network that will take an input image of an animal, pass it through a series of convolutional and pooling layers, and then finally pass it through a dense and fully connected layer with 10 nodes The Specialist would like to get an output from the neural network that is a probability distribution of how likely it is that the input image belongs to each of the 10 classes

Which function will produce the desired output?

A.
Dropout
Answers
A.
Dropout
B.
Smooth L1 loss
Answers
B.
Smooth L1 loss
C.
Softmax
Answers
C.
Softmax
D.
Rectified linear units (ReLU)
Answers
D.
Rectified linear units (ReLU)
Suggested answer: C

Explanation:

The softmax function is a function that can transform a vector of arbitrary real values into a vector of real values in the range (0,1) that sum to 1. This means that the softmax function can produce a valid probability distribution over multiple classes. The softmax function is often used as the activation function of the output layer in a neural network, especially for multi-class classification problems. The softmax function can assign higher probabilities to the classes with higher scores, which allows the network to make predictions based on the most likely class. In this case, the Machine Learning Specialist wants to get an output from the neural network that is a probability distribution of how likely it is that the input image belongs to each of the 10 classes of animals. Therefore, the softmax function is the most suitable function to produce the desired output.

References:

Softmax Activation Function for Deep Learning: A Complete Guide

What is Softmax in Machine Learning? - reason.town

machine learning - Why is the softmax function often used as activation ...

Multi-Class Neural Networks: Softmax | Machine Learning | Google for ...

asked 16/09/2024
walterio mendez
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first