A Cost function is used to gauge the performance of the Machine Learning model. A Machine Learning model devoid of the Cost function is futile. Cost Function helps to analyze how well a Machine Learning model performs. A Cost function basically compares the predicted values with the actual values. Appropriate choice of the Cost function contributes to the credibility and reliability of the model.
Absolute loss of Regression
Mean Absolute Error of Regression
Regression tasks deal with continuous data. Cost functions available for Regression are,
Mean Absolute Error(MAE) is the mean absolute difference between the actual values and the predicted values.
#machine-learning #cost-function #data-science #optimization