Translations:Cross-Entropy Loss/22/en

    From Marovi AI
    Revision as of 21:59, 27 April 2026 by FuzzyBot (talk | contribs) (Importing a new version from external source)

    For multi-class classification with $ K $ classes, the true label is typically a one-hot vector $ \mathbf{y} $ with $ y_c = 1 $ for the correct class $ c $. The predicted probabilities $ \hat{\mathbf{y}} $ are obtained via the Softmax Function: