Beginner Artificial Intelligence & Machine Learning
Q36 / 100

What is a loss function?

Correct! Well done.

Incorrect.

The correct answer is B) A function measuring the difference between predicted and actual values, guiding parameter updates during training

B

Correct Answer

A function measuring the difference between predicted and actual values, guiding parameter updates during training

Explanation

Cross-entropy loss for classification: -Σy_i log(ŷ_i). MSE for regression: (y-ŷ)². Hinge loss for SVM. The gradient of the loss guides gradient descent updates to minimize prediction error.

Progress
36/100