You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
will result in NaN as the output even for moderate scores of around 90f:
varfoo=new[]{90f,2,-2f};NormalizeSoftmax(foo,3);
Seen very easily in the debugger (the float cast will result in Inf). I'm getting back a score of roughly 102 for some of my data sets and models. Though they're extremely rare.
The text was updated successfully, but these errors were encountered:
rauhs
changed the title
Softmax imlementation in OneVersusAllModelParameters returns NaN even for scores of ~90.0f
Softmax implementation in OneVersusAllModelParameters returns NaN even for scores of ~90.0f
May 2, 2019
version: 0.11
This implementation:
machinelearning/src/Microsoft.ML.StandardTrainers/Standard/MulticlassClassification/OneVersusAllTrainer.cs
Lines 741 to 752 in 5163413
will result in
NaN
as the output even for moderate scores of around 90f:Seen very easily in the debugger (the float cast will result in
Inf
). I'm getting back a score of roughly 102 for some of my data sets and models. Though they're extremely rare.The text was updated successfully, but these errors were encountered: