Error/Loss functions are used to estimate the loss of a model so that the weights can be updated to reduce the error rate on the next iteration. As you have clicked in this article, I am assuming you know the fundamental stuffs of machine learning pipelines and you want to know about loss functions specifically. So, let's jump directly to loss functions. I will also show you how you can use these loss functions in Scikit-learn/Pytorch. Broadly, we can categorize loss functions in two categories. Loss functions for Regression problems. Loss functions for Classification problems. Regression problems The two most common loss functions for regression problems are: MSE( Mean Squared Error) MAE (Mean Absolute Error) MSE / Quadratic Loss / L2 Loss If the target values falls into Gaussian/ Normal distribution, then it is the preferred loss function for regression problems. MSE is the sum of squared distances between target variables (ground truth) and predicted values. The implemen
Soumik's Tech Blog
Artificial Intelligence | Data Science | Software Engineering