New course! Every coder should learn Generative AI!
Try a free lesson0
Machine Learning
Question: What are Loss function in Machine Learning
1 Answer
+ 1
A loss function is for a single training example. It is also sometimes called an error function. A cost function, on the other hand, is the average loss over the entire training dataset. The optimization strategies aim at minimizing the cost function.
https://www.analyticsvidhya.com/blog/2019/08/detailed-guide-7-loss-functions-machine-learning-JUMP_LINK__&&__python__&&__JUMP_LINK-code/#:~:text=A%20loss%20function%20is%20for,at%20minimizing%20the%20cost%20function.