Learn Before
Multiple Choice

A machine learning model is trained for a binary classification task where the goal is to predict a label y (either 0 or 1). The model's prediction, ŷ, is a probability between 0 and 1. The performance on a single example is measured using the loss function: L(ŷ, y) = -(y*log(ŷ) + (1 - y)*log(1 - ŷ)).

Consider two scenarios for an example where the true label y is 1:

  • Scenario A: The model predicts ŷ = 0.9.
  • Scenario B: The model predicts ŷ = 0.1.

Which scenario results in a higher loss value, and why?

0

1

Updated 2025-09-29

Contributors are:

Who are from:

Tags

Data Science

Foundations of Large Language Models Course

Computing Sciences

Analysis in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science