Why is my R-squared value different?
4 ビュー (過去 30 日間)
古いコメントを表示
I have used a feedforward backprop to train a network.
When I extract the output from the network and calculate the R-squared value with MS Excel, it is different from what MATLAB calculates from the network when the plotregression command is activated. Any reasons for this? Which one do I report as the actual value?
1 件のコメント
John D'Errico
2017 年 7 月 30 日
編集済み: John D'Errico
2017 年 7 月 30 日
Does it matter which one you report? There is more than one possible method to compute R^2. Worse, there are ways to compute an adjusted R^2, which is sometimes arguably more appropriate. So you might be just seeing an adjusted R^2.
Or it might be simply that you extracted a set of coefficients without taking ALL of the significant digits of those parameters, putting essentially the wrong results into Excel. This is a common mistake in fact.
Don't get hung up on a single number that tries to predict goodness of fit. R^2 simply is not that important.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Propagation and Channel Models についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!