What is a Loss Function?
A Loss Function, also known as a Cost Function, is a mathematical function that measures the discrepancy between the predicted output of a
machine learning model and the true output. It quantifies the model's performance during training and guides the learning process.