Skip to content

Glossary: Deep Learning Basics

MSELoss

Also written: mean squared error, MSE, nn.MSELoss

The loss for predicting a number: the average of the squared errors. It equals `((pred - target) ** 2).mean()`.

Where the book teaches it

Related terms

Loss functionMAE (mean absolute error)