Understanding Mean Absolute Error and Mean Squared Error as ML metrics and loss functions

Ғылым және технология

Tips Tricks 37 - MAE vs MSE vs Huber
Understanding Mean Absolute Error and Mean Squared Error as ML metrics and loss functions
Code from this video can be downloaded from here: github.com/bnsreenu/python_fo...
Use MSE if outliers are important.​
USE MAE if outliers are not important (most cases).​
Use Huber to get a balance between giving outliers some weight but not a lot (like in MSE). ​

Пікірлер: 21

  • @reganmian
    @reganmian4 ай бұрын

    I'm in a graduate level statistical inference course. I only had probability in undergrad with no statistics. This was such as nice and fast explanation to give motivation to why I'm learning this. Rigor has it's place, but I needed this

  • @minhajulhoque2113
    @minhajulhoque21132 жыл бұрын

    Really enjoy your videos. Very clear and concise. Thank you!

  • @elzeardbouffier2904
    @elzeardbouffier29042 жыл бұрын

    Leaving a comment to say that you have helped me greatly improve my research.

  • @ahaditab6364
    @ahaditab63642 жыл бұрын

    Love all your tutorials .....keep going

  • @tabbypp
    @tabbypp Жыл бұрын

    Amazing example, thank you!

  • @surflaweb
    @surflaweb2 жыл бұрын

    Thanks dr. Great explanation.

  • @mudassirawan9248
    @mudassirawan9248 Жыл бұрын

    Such a gem on this topic.

  • @pankajgoikar4158
    @pankajgoikar4158 Жыл бұрын

    Excellent, Everything is cleared. Thank you so much.

  • @DigitalSreeni

    @DigitalSreeni

    Жыл бұрын

    You are most welcome

  • @teklehaimanotaman3150
    @teklehaimanotaman3150 Жыл бұрын

    Thank you very much for your outstanding tutorials. My question is why does an outlier remain important? before we train our mdoel, we have to clean outliers and interpolate missing values. Could you please explain this please? Thank you.

  • @nourammar4368
    @nourammar43686 ай бұрын

    thank you

  • @brunospfc8511
    @brunospfc85112 жыл бұрын

    Thank you professor, i have a question, given a confusion matrix result of my prediction as such : 1st line [3 0 0] 2nd [0 3 0] 3rd [1 0 2] , how to trace my way back to the image that generates de "1" in the third line ? So i can see if there's something particular with this image ? have a good day

  • @ssyedyaseens
    @ssyedyaseens6 ай бұрын

    I am very new here. Why is mae an array during code demo? Isnt it supposed to be just one value? If x is data points, and y is some predicted value, y_delta could be an array, how can y_mae be an array? Appreciate any help. Thanks

  • @Mojtaba.Sirati-Amsheh
    @Mojtaba.Sirati-Amsheh2 жыл бұрын

    please, make a video about GRAD_CAM for image regression tasks

  • @divyaanshsingh5308
    @divyaanshsingh5308 Жыл бұрын

    Quick question: COntradiction to your summary - If outliers are important shouldnt we use MAE instead of MSE since MSE is highly influenced by outliers?

  • @user-pz2py4tp3t

    @user-pz2py4tp3t

    2 ай бұрын

    idk hat you are trying to ask, but fundamentally, if we want our model to learn outlier affect in learning, we will use MSE since MSE penalizes the outlier by square factor and MAE does'nt as it will average out the big error(Outlier) so of no use for Tracking Outlier.

  • @KN-tx7sd
    @KN-tx7sd Жыл бұрын

    Sir, we now often see in some analysis people showing MAE as 0.20 ± 0.011 as well as R2 as 0.45 ± 0.028, can you kindly explain how these ± values are obtained for MAE and R2 for any analysis can any of the python packages can derive these values. Thank you

  • @DigitalSreeni

    @DigitalSreeni

    Жыл бұрын

    One way to obtain +/- for MAE is when you average MAE values from multiple experiments and reporting the standard deviation.

  • @aryansakhala3930
    @aryansakhala39302 жыл бұрын

    Professor, please consider my resume for research with you...

  • @RAZZKIRAN
    @RAZZKIRAN2 жыл бұрын

    contact mail id sir?

  • @Mojtaba.Sirati-Amsheh
    @Mojtaba.Sirati-Amsheh2 жыл бұрын

    thank you

Келесі