<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by ABUBAKKAR SIDDIQ. K on Medium]]></title>
        <description><![CDATA[Stories by ABUBAKKAR SIDDIQ. K on Medium]]></description>
        <link>https://medium.com/@abubakkarsiddiq5497?source=rss-389817723e43------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*An2bthShshpSFR7F</url>
            <title>Stories by ABUBAKKAR SIDDIQ. K on Medium</title>
            <link>https://medium.com/@abubakkarsiddiq5497?source=rss-389817723e43------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 23:12:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abubakkarsiddiq5497/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[“Understanding Error Metrics in Machine Learning: A Comprehensive Guide”]]></title>
            <link>https://medium.com/@abubakkarsiddiq5497/understanding-error-metrics-in-machine-learning-a-comprehensive-guide-b61e379aa994?source=rss-389817723e43------2</link>
            <guid isPermaLink="false">https://medium.com/p/b61e379aa994</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[regression-analysis]]></category>
            <category><![CDATA[model-evaluation]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[ABUBAKKAR SIDDIQ. K]]></dc:creator>
            <pubDate>Sat, 24 Aug 2024 22:55:00 GMT</pubDate>
            <atom:updated>2024-08-24T22:55:00.156Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction:</h3><ul><li>In machine learning, evaluation model performance is crucial for understanding how well a model is likely to generalize to new data. Error metrics are statistical tools that helps to measure the accuracy to predictive model. In this article, we will explore several commonly used error metrics, explaining their significance, calculation methods, and appropriate use cases.</li></ul><h3>1. Mean Squared Error (MSE)-</h3><ul><li>MSE measures the average magnitude of errors in a set of predictions, without considering their direction. it’s the average over the test sample of the absolute difference between prediction and actual observation where all individual differences have equal weight.</li><li>Use MSE when we want to heavily penalize larger errors in our model evaluation.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/382/1*DPuzHtvUWBCd7Zi03xC61A.png" /></figure><h4>Interpretation:</h4><ul><li>MAE is straightforward to interpret as it provides the average error in the same units as the target variable. A lower MAE indicates better model performance.</li></ul><h4>I) Advantages:-</h4><ul><li>Simple to understand and implement.</li><li>Not overly sensitive to outliers, which can be beneficial in certain scenarios.</li></ul><h4>II) Disadvantages:-</h4><ul><li>Does not differentiate between the severity of different errors since all errors are given equal weight.</li></ul><h4>Common Usage:</h4><ul><li>MAE is commonly used in regression problems where all deviations are equally important.</li></ul><h3>2. Mean Absolute Error (MAE) :-</h3><ul><li>MAE is the average of squared differences between the predicted and actual values. it’s used to measure the average squared difference between estimated values and actual values.</li><li>Use MAE when we want a simple, interpretable metric in the same units as the target variable.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/363/1*1n-nt-bqz0Bm8w0U_ptnlQ.png" /></figure><h4>Interpretation:</h4><ul><li>The MSE gives a larger penalty to large errors due to the squaring of each term, making it more sensitive to outliers compared to MAE.</li></ul><h4>I) Advantages:</h4><ul><li>Provides a clear mathematical calculation for optimizing models.</li><li>More sensitive to outliers, which can be useful in certain analytical contexts.</li></ul><h4>II) Disadvantages:</h4><ul><li>Sensitive to outliers, which can distort the measure if the data contsins them.</li></ul><h4>Common Usage:</h4><ul><li>Widely used in regression models and scenarios where it’s important to penalize larger errors more than smaller ones.</li></ul><h3>3. Root Mean Squared Error (RMSE):-</h3><ul><li>RMSE is the square root of the average of squared differences between predicted and observed values. It provides an error metric in the same units as the target variable.</li><li>Its ideal when we want to penalize larger errors but want an easier-to-interpret value.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/367/1*r3gaWow4SP0n0y0VQANmuw.png" /></figure><h4>Interpretation:</h4><ul><li>RMSE is interpreted similarly to MSE but with the added benefits of being in the same unit as the predicted variable, which can make interpretation more intuitive.</li></ul><h4>I) Advantages:</h4><ul><li>Easier to interpret in terms of the original data’s units.</li><li>Effectively penalizes larger errors more than smaller ones due to the squaring.</li></ul><h4>II) Disadvantages:</h4><ul><li>Similar to MSE, it is also sensitive to outliers.</li></ul><h4>Common Usage:</h4><ul><li>Preferred in context such as forecasting where larger errors are particularly undesirable.</li></ul><h3>4. Mean Absolute Percentage Error (MAPE):-</h3><ul><li>MAPE measures the accuracy of a forecast system as a percentage. It is calculated as the average of the absolute percentage errors of the individual predictions.</li><li>Use MAPE when we need to understand the error in terms of percentage, which is easy for stakeholders to understand.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/393/1*McrW3oRho5kvHpAOI8tP8w.png" /></figure><h4>Interpretation:</h4><ul><li>MAPE expresses the error as a percentage, which can make it easier to understand the error magnitude relative to the scale of the data.</li></ul><h4>I) Advantages:</h4><ul><li>Provides an intuitive measure of prediction accuracy.</li><li>Useful when comparing models across different scales.</li></ul><h4>II) Disadvantages:</h4><ul><li>Can be problematic when actual values are close to zero, leading to undefined or infinite percentages.</li></ul><h4>Common Usage:</h4><ul><li>Frequently used in forecasting and economic modelling where percentage errors provide clearer insight.</li></ul><h3>5. R-Squared (R2):</h3><ul><li>R-squared or the coefficient of determination, represents the proportion of the variance for a dependent variable that’s explained by an independent variables in regression model.</li><li>Use R2 when we want to understand the proportion of variance in the dependent variable that is predictable from the independent variables.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*_HoVf6Y1a9a71Gmtpyl6TA.png" /></figure><h4>Interpretation:</h4><ul><li>R2 values range from o to 1, where o indicates that the model does not explain any of the variance, and 1 indicates that it explains all the variance.</li></ul><h4>I) Advantages:</h4><ul><li>Provides a measure of how well the regression predictions approximate the real data points.</li><li>Easy to interpret as a proportion of variance explained.</li></ul><h4>II) Disadvantages:</h4><ul><li>Can give misleading results in non linear models.</li><li>Does not account for the model complexity which can lead to overfitting.</li></ul><h4>Common Usage:</h4><ul><li>Commonly used in linear regression models to access the goodness of fit.</li></ul><h3>Conclusion:</h3><ul><li>in real-world regression problems, selecting the right error metric is crucial for evaluating model performance. The choice of metric can significantly affect model interpretation and subsequent decisions. Understanding the strengths and limitation of each metric allows for a more informed and appropriate selection tailored to the specific application.</li></ul><h4>Summary Table:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rxeiBM2e7bMrE6ywRBTOQg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b61e379aa994" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>