« Back to Glossary Index

Also called cost function or error function, Loss Function is a function which maps input variables, or features, to a real number which quantifies the error between a model’s prediction and the actual correct expected value. Hence the loss function expresses how far off the mark the computed output is. Examples are MAE, MSE, RMSE, etc.