Loss function
A loss function, also known as a cost function or error function, is a core component in machine learning that quantifies the difference between a model's predicted output and the actual target value. This value is then used to guide the optimization process during model training, aiming to minimize this error and improve the model's accuracy.

