FirstInTest
QuestionsFlash card
CoursesVideosPricingNewsBlogFeedback
Questions/Artificial Intelligence Basics

Which activation function is commonly used as the nonlinearity after a final linear layer for multiclass classification?

Answer

Softmax

Explanation

Softmax converts logits into a probability distribution over classes. This matches the multiclass objective where exactly one class is typically chosen.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error

Related questions

Consider an embedding layer used for categorical inputs (e.g., user IDs). What is a main advantage of embeddings compared to one-hot vectors?

View question →

A dataset contains two classes with significant imbalance. Which strategy most directly helps the model not ignore the minority class?

View question →

Which situation best describes the vanishing gradient problem in deep networks?

View question →

Suppose you increase the number of neurons in a hidden layer. Which effect is most directly expected (all else equal)?

View question →

For convolutional neural networks (CNNs), which property explains why they work well on images?

View question →

A student uses stochastic gradient descent (SGD) with mini-batches. What is a key benefit compared to full-batch gradient descent?

View question →

QuestionBack to list
FirstInTest

A world-class coach for every exam.

Product

CoursesVideosPricingNewsBlogFeedback

Company

About usFAQEditorial PolicyContact usFeedbackCommunityFor AI Assistants

Legal

Editorial PolicyTermsPrivacyRefunds