Loss functions in MATLAB

8 ビュー (過去 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
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 件のコメント
Fatma Elzahraa Ahmed
Fatma Elzahraa Ahmed 2016 年 12 月 2 日
I did not assume the result. what I meant is that for my evaluation, MATLAB output was 0.3247. When I asked this question in other forum they told me that 0.3247 would be equivalent to 32.47%. Therefore, I am just asking if what they told me is right, then how 44.9635, which is a result existed in MATLAB help, would be interpreted?
Note: the cause of my question is because I can obtain the correct rate of my predictor as 0.9825 for example using classperf() which is equivalent to 98.25%. So, I just wanted to clarify how the "loss functions" represent the results? Are they should be interpreted as they are directly or they are a percentages?
Thank you for your reply
Jan
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.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeModel Building and Assessment についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by