简体   繁体   English

“归一化均方误差”说的是什么?

[英]"Normalized mean squared error" says WHAT?

I know that mean squared error is a public and popular metric to evaluate the efficiency of the model and architecture.我知道均方误差是评估模型和架构效率的公共和流行指标。 Also, it is the tool to evaluate the result in such if, the MSE did not arrive well, by tunning the model it is expected to have a better result.此外,它是评估结果的工具,如果MSE没有很好地到达,通过调整模型,预计会有更好的结果。 BUT, What about NMSE which stands for Normalized mean squared error .但是,代表Normalized mean squared error NMSE怎么样。 How it can be interpreted?它可以如何解释? I mean, how can I interpret the result that comes out?我的意思是,我如何解释得出的结果? I have used my own function to get it, which is here:我用我自己的函数来获取它,它在这里:

def rmse(predictions, targets):

    differences = (predictions - targets)/targets                      

    differences_squared = differences ** 2                    

    mean_of_differences_squared = differences_squared.mean()  

    rmse_val = np.sqrt(mean_of_differences_squared)           

    return rmse_val 

Althought this is not a programming question and it should be addressed more to a statistics /data science platform, we can say that the normalized MSE gives you an idea about the error independently of the absolute mean value.虽然这不是一个编程问题,它应该更多地针对统计/数据科学平台,但我们可以说,归一化 MSE 可以让您了解与绝对平均值无关的误差。

Consider two cases where you have a range of values form 1 to 100 and another from 100 to 100000. If you just calculate the MSE the variance will appear bigger for the range of 100 to 100000 because the absolute values of the measurements are just larger.考虑两种情况,其中值的范围是 1 到 100,另一个是 100 到 100000。如果只计算 MSE,则 100 到 100000 范围内的方差会显得更大,因为测量值的绝对值更大。 But as a fraction or percentage of the actual values the range 1 to 100 might have higher variance.但作为实际值的分数或百分比,范围 1 到 100 可能具有更高的方差。

The normalized MSE allows you to compare the error for sets with vary different value ranges.归一化 MSE 允许您比较具有不同值范围的集合的误差。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM