covartech / PRT

Pattern Recognition Toolbox for MATLAB
http://covartech.github.io/
MIT License
145 stars 70 forks source link

Problem building regression with LibSVM #55

Open peterTorrione opened 7 years ago

peterTorrione commented 7 years ago

I am trying to implement prtRegressLibSvm, but LibSVM is seg-faulting on me. Is this our bad?

Here's the simplest version I can make:

ds = prtDataGenNoisySinc; model = prtExternal.libsvm.svmtrain(ds.Y, ds.X,['-s 3']); [dontNeed, dontNeed, decision_values] = prtExternal.libsvm.svmpredict(ds.Y, ds.X, model);

Yikes?

This is preventing me from making prtRegressLibSvm...