Start learning →

The tanh function squashes its input to which interval?

AThe interval (-1, 1)
BThe interval (-∞, ∞)
CThe interval [0, ∞)
DThe interval (0, 1)
Answer & Solution
Correct answer: A. The interval (-1, 1)
tanh(x) = (1 - exp(-2x)) / (1 + exp(-2x)) maps ℝ into (-1, 1). It is point-symmetric about the origin, unlike sigmoid which is centred at 0.5.
Practise this question with Quill — Claude →

Keep practising MLP and Activations

Browse all MLP and Activations questions for Claude, or explore more Aifoundations topics.

Start a MLP and Activations lesson →
Related questions