Discuss About Application of Coefficient of determination in Neural Networks
4 views (last 30 days)
Show older comments
Hi All
when we are running a ANN code , I have noticed that the MSE and Coefficient of determination is calculated before the neural model , as a Linear Model, but It is never used afterward to be compared to the results and error of the neural model to judge the performance here is the link that is is discussed about.
my question is where we use the R^2 finally ? if it's before the double loop, it has no application somehow !
0 Comments
Accepted Answer
Greg Heath
on 14 Mar 2015
What is being done is to increase the order of the models to better understand and quantify the final model.
The 0th order net is just a constant output, regardless of the input. The constant output that yields minimum MSE is the rowwise mean. The MSE, MSE00, is just the mean of the rowwise variances.
The 1st order net is a linear model that can be implemented with no hidden layers. However, the weights can be obtained more easily with the typical backslash division approach. The MSE is denoted MSE0 and the fraction of the target variance that is not modeled by the net is just the normalized MSE0, NMSE0 = MSE0/MSE00. The fraction that is modeled is the coefficient of determination or Rsquared0 = 1- NMSE0 (see Wilikpedia).
Higher order nets can be implemented with a single hidden layer. The measures of performance are the normalized mean-squared-error, NMSE = MSE/MSE00 and coefficient od determination or Rsquared = 1- NMSE , the fraction of target variance that is represented by the model.
Hope this helps.
Thank you for formally accepting my answer
Greg
2 Comments
More Answers (0)
See Also
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!