Which activation function outputs zero for all negative inputs?
Correct answer
C. ReLU
16 views
C. ReLU
16 views
ReLU (Rectified Linear Unit) is defined as f(x) = max(0, x): it outputs zero for every negative input and passes positive inputs through unchanged.
Sigmoid and tanh produce small non-zero values for negative inputs, and Leaky ReLU deliberately lets through a small negative slope to avoid "dead" neurons. ReLU's simplicity and resistance to vanishing gradients made it the default activation in deep learning.
Want more practice? Try the full set of Artificial Intelligence MCQs on MCQsExam.com.
Not sure why the answer is C? Ask here and get an explanation.
Practise all Artificial Intelligence (AI) and Machine Learning (ML) MCQs