Skip to content

Different probability estimates obtained from Matlab running on Unix and Windows #176

Description

@yaoyang1

Hi, I tried to run 'svmtrain' with the same training data on both Ubuntu(64bit) and Windows(64bit). My MATLAB on both is R2020b(64bit). The SVM models derived were exactly the same. However, I got different probability estimates (i.e., model.ProbA and model.ProbB). The code follows.

t=2; c=1; g=1; b=1;
cmd=['-t ',num2str(t) , ' -c ', num2str(c), ' -g ', num2str(g), ' -q -b ', num2str(b)];
model=svmtrain(y, x, cmd);
display(model.ProbA,'A')
display(model.ProbB,'B')

'x' is the input and 'y' is the output. Both are of type double.
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions