Machine Learning, Data Science, Loss Function, Regression, Classification.
handling the absolute or modulus operator in mathematical equations is not easy. I’m sure a lot of you must agree with this! We can consider this as a disadvantage of MAE. Here is the code for the update_weight function with MAE cost: We get the below plot after running the code for 500 iterations