Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What is a loss function?
Think about its role during model training.
Name one loss function used for regression.
Recall the type of output in regression tasks.
What does a loss function measure?
Think about its role in training.
Mean Squared Error is used for which type of tasks?
Recall the functions suitable for continuous outputs.
A regression model predicts temperatures for a week. Actual temperatures are [70, 72, 68, 65, 71] degrees, and predicted temperatures are [68, 74, 67, 66, 69]. Calculate the MSE.
Apply the MSE formula step by step.
A model is trained for image classification. If the predicted probabilities for a cat class are [0.8, 0.1, 0.2] and the actual classes are [1, 0, 1], calculate the binary cross-entropy loss.
Use the cross-entropy formula carefully considering the probabilities.
4 more questions in this section. Enroll free to practise them all.
Enroll free