Glossary › Math

Cross-Entropy Loss

Standard loss function for classification: L = -Σ y_i log(p_i). Measures difference between predicted probability distribution and true distribution. Used in language modeling (next-token prediction).

Where this is taught

Related terms

Softmax

More in Math

Softmax · Cosine Similarity · Perplexity

Learn this by building

DeVenture Academy teaches AI engineering through projects — every lesson is paired with a hands-on lab you run on your own machine with real tools.

Create a free account — the opening phases of 24 of 30 courses are free, no credit card. Or see Pro pricing.

All courses · Pricing · About · FAQ · Glossary