Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AWS Certified Machine Learning - Specialty topic 1 question 23 discussion

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
  • B. Smooth L1 loss
  • C. Softmax
  • D. Rectified linear units (ReLU)
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
DonaldCMLIN
Highly Voted 2 years, 7 months ago
C might be much suitable softmax is to turn numbers into probabilities. https://medium.com/data-science-bootcamp/understand-the-softmax-function-in-minutes-f3a59641e86d
upvoted 30 times
...
rsimham
Highly Voted 2 years, 7 months ago
C is right. Softmax function is used for multi-class predictoins
upvoted 14 times
...
loict
Most Recent 8 months, 1 week ago
Selected Answer: C
A. NO - Dropout is to prevent overfitting B. NO - L1 regularization is to prevent overfitting C. YES - Softmax will give probabilities for each class D. NO - Rectified linear units (ReLU) is an activation function
upvoted 2 times
...
DavidRou
8 months, 1 week ago
Softmax is the correct answer.
upvoted 1 times
...
Valcilio
1 year, 2 months ago
Selected Answer: C
Multiclassification with probabilities is about softmax!
upvoted 1 times
...
vbal
1 year, 4 months ago
Softmax is for probability distribution
upvoted 1 times
...
technoguy
2 years, 6 months ago
it should be C. Softmax Softmax converts outputs to Probabilites of each classification
upvoted 3 times
...
omar8024
2 years, 6 months ago
absolutely C
upvoted 1 times
...
takahirokoyama
2 years, 6 months ago
Absolute C.
upvoted 4 times
...
cloud_trail
2 years, 6 months ago
This is as easy a question as you will likely see on the exam, Everyone has the right answer here.
upvoted 3 times
...
felbuch
2 years, 6 months ago
C --> Softmax. Let's go over the alternatives: A. Dropout --> Not really a function, but rather a method to avoid overfitting. It consists of dropping some neurons during the training process, so that the performance of our algorithm does not become very dependent on any single neuron. B. Smooth L1 loss --> It's a loss function, thus a function to be minimized by the entire neural network. It's not an activation function. C. Softmax --> This is the traditional function used for multi-class classification problems (such as classifying an animal into one of 10 categories) D. Rectified linear units (ReLU) --> This activation function is often used on the first and intermediate (hidden) layers, not on the final layer. In any case, it wouldn't make sense to use it for classification because its values can exceed 1 (and probabilities can't)
upvoted 11 times
...
MOMoez
2 years, 7 months ago
C, Softmax is the best suitable answer Ref: The softmax function, also known as softargmax[1]:184 or normalized exponential function,[2]:198 is a generalization of the logistic function to multiple dimensions. It is used in multinomial logistic regression and is often used as the last activation function of a neural network to normalize the output of a network to a probability distribution over predicted output classes, based on Luce's choice axiom.
upvoted 2 times
...
ybad
2 years, 7 months ago
You guys are right, the answer is C since it automatically provides the output with a confidence interval... Relu could be used as well but it needs to be coded in to provide the probabilities https://medium.com/@himanshuxd/activation-functions-sigmoid-relu-leaky-relu-and-softmax-basics-for-neural-networks-and-deep-8d9c70eed91e
upvoted 1 times
...
yeetusdeleetus
2 years, 7 months ago
Definitely C
upvoted 1 times
...
bidds
2 years, 7 months ago
Definitely softmax.
upvoted 1 times
...
hans1234
2 years, 7 months ago
Are you sure it is C?` The output should be "[the probability that] the input image belongs to each of the 10 classes." And not the most likely class with the highest probability, which would be the result of softmax layer.
upvoted 1 times
hans1234
2 years, 7 months ago
Yes, softmax returns indeed a vector of probabilities.
upvoted 1 times
...
...
roytruong
2 years, 7 months ago
C, everyone with basic knowledge in neural network can easily see that
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...