feed-forward neural networks figure - training neural network eriving cost functions using maximum likelihood as discussed earlierthe cost functions (aka loss functionshelp to determine the disagreement between the predictions and the actual targets with quantified metric based on specific use case and the nature of the target variablethere are several ways to define loss function loss function is derived by leveraging framework (saymaximum likelihoodwhere we maximize or minimize set of parameters for an outcome of interest the quantified value of disagreement is calculated using the loss function thereforeit gives the model' training framework tangible way to estimate the level of disagreement and