📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

What is a loss function?

A. A function that counts the number of features
B. A function that measures the size of the dataset
C. A function that always returns zero
D. A function that measures how far a model's predictions are from the true values ✅

Correct Answer: D. A function that measures how far a model's predictions are from the true values

Explanation

The loss, such as mean squared error, quantifies error; training minimises it.