AI 2 Mark Answers
AI 2 Mark Answers
3. Define Uncertainty
Uncertainty refers to incomplete or imperfect information about the environment or
future events, which affects decision-making in AI systems.
14. Given that P(A) = 0.3, P(A|B) = 0.4, and P(B) = 0.5. Compute P(B|A)
P(B|A) = [P(A|B) * P(B)] / P(A) = (0.4 * 0.5) / 0.3 = 0.6667
19. What is Stochastic Gradient Descent and why is it used in training neural
networks?
SGD updates model weights using small batches or single samples, which makes
training faster and more memory-efficient for large datasets.
20. Why is ReLU better than Softmax? Give the equation for both.
ReLU helps avoid vanishing gradients and speeds up training in hidden layers, while
Softmax is used only in the output layer for classification.
- ReLU: f(x) = max(0, x)
- Softmax: f(x_i) = e^(x_i) / Σ e^(x_j)