Loss functions in MATLAB

2 ビュー (過去 30 日間)
Fatma Elzahraa Ahmed
Fatma Elzahraa Ahmed 2016 年 12 月 2 日
コメント済み: Jan 2016 年 12 月 2 日
I want to know how to interpret the loss functions results in MATLAB?
On other words, for example if I got 0.3247 as a results of kfoldLoss() function, is this mean that it is a 32.47% or it is a 0.3247%, or how correctly can I define/interpret this obtained result? If we supposed that the output of my question will be 32.47%, then, how can we interpret a result in the help of MATLAB of the kfoldloss() function as 44.9635 where L = kfoldLoss(cvmodel,'mode','individual')?
Thank you very much in advance

回答 (1 件)

Jan 2016 年 12 月 2 日
If the function replies 0.3247, the calculated result is 0.3247. There is no reason to assume, that the value is meant as percent.
The 2nd part of your question is not trivial. As far as I understand you assume that the result of the function should be 0.3247, but Matlab replies 44.9635. Because Matlab is frequently tested, I would dare to assume, that your assumption is wrong. But how could we know this?
  2 件のコメント
Jan 2016 年 12 月 2 日
The meaning of "%" is 0.01 . 0.32 and 32% are not only equivalent but exactly the same. 44.96 is the same as 4496% .
It is unusual, that a numerical function reply the results in percent. And if kfoldLoss do this, you would find this mentioned in the documentation explicitely.


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by