The Loss function computes the error for a single training example.
The Cost function is the average of the Loss functions of the entire training set.
Thanks for reading this post.
- Coursera. 2020. Logistic Regression Cost Function – Neural Networks Basics | Coursera. [online] Available at: <https://www.coursera.org/learn/neural-networks-deep-learning/lecture/yWaRd/logistic-regression-cost-function> [Accessed 11 May 2020].