Skip to content
New issue

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

MEX File crash for regression SVM in MATLAB #94

Open
peterTorrione opened this issue Apr 25, 2017 · 0 comments
Open

MEX File crash for regression SVM in MATLAB #94

peterTorrione opened this issue Apr 25, 2017 · 0 comments

Comments

@peterTorrione
Copy link

The MEX interface to Regression SVMs appear to be crashing in MATLAB - we use the classification SVMs widely, but having seg-faults with option: -s 3

See the attached xy.csv, then run:

clearvars;
close all;

xy = dlmread('xy.csv');
x = xy(:,1);
y = xy(:,2);

model = svmtrain(y, x, '-s 3');
out = svmpredict(y, x, model);

This causes a SEG FAULT in WIndows & OSX.
xy.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant