feed-forward neural networks for single data pointwe can compute the output of neural networkwhich we denote as now we need to compute how good the prediction of our neural network is as compared to here comes the notion of loss function loss function measures the disagreement between and ywhich we denote by number of loss functions are appropriate for the task at handsay binary classificationmulti-class classificationor regression which we shall cover later in the (typically derived using maximum likelihooda probabilistic framework that aims to increase the likelihood of finding the probability distribution that best explains the dataa loss function typically computes the disagreement between and over number of data points rather than single data point figure - demonstrates the flow for computing the disagreement between and figure - loss/cost function and the computation of cost/loss