We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I wanted to use SVM.PredictProbability but unfortunately the method crashes:
This can reproduce the issue:
SVMProblem trainingSet = SVMProblemHelper.Load(@"problem.txt"); SVMParameter parameter = new SVMParameter(); parameter.Type = SVMType.C_SVC; parameter.Kernel = SVMKernelType.RBF; parameter.C = 1; parameter.Gamma = 0.5; SVMModel model = trainingSet.Train(parameter); for (int i = 0; i < trainingSet.Length; i++) { double[] estimations; var prob = SVM.PredictProbability(model, trainingSet.X[i], out estimations); }
problem.txt
OK, it does not crash, when I set parameter.Probability = true but then I always get -1 for the probabilits.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I wanted to use SVM.PredictProbability but unfortunately the method crashes:
This can reproduce the issue:
problem.txt
OK, it does not crash, when I set parameter.Probability = true but then I always get -1 for the probabilits.
The text was updated successfully, but these errors were encountered: