- 'regularization' can be set to any value between 0 and 1. The greater the regularization value, the more squared weights and biases are included in the performance calculation relative to errors. The default is 0, corresponding to no regularization.
- 'normalization' can be set to 'none' (the default); 'standard', which normalizes errors between -2 and 2, corresponding to normalizing outputs and targets between -1 and 1; and 'percent', which normalizes errors between -1 and 1. This feature is useful for networks with multi-element outputs. It ensures that the relative accuracy of output elements with differing target value ranges are treated as equally important, instead of prioritizing the relative accuracy of the output element with the largest target value range.
How does matlab normalize the mean square error?
35 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sai Praneet
le 25 Mai 2020
Commenté : Alejandro Peñuelas
le 26 Mai 2020
This is probably very basic question. But I am very new to neural networks. So, I know in general mean square error (MSE) is calculated as MSE =
where
is the target value and
is the neural network output. The "mse" function in matlab is called "mean square normalized error". So, my question is how and with what matlab is normalizing the error? Thank you.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/300798/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/300803/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/300808/image.png)
0 commentaires
Réponse acceptée
Alejandro Peñuelas
le 25 Mai 2020
Modifié(e) : Alejandro Peñuelas
le 25 Mai 2020
_______________________________________________________________________________________
This function has two optional parameters, which are associated with networks whose net.trainFcn is set to this function:
________________________________________________________________________________________
So, by default the function does not normalize the mse unless you indicate it in the parameters of the function.
Hope this can help you.
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!