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

EpsilonSvmTrainer error #270

Open
cydcydcyd opened this issue Apr 26, 2019 · 7 comments
Open

EpsilonSvmTrainer error #270

cydcydcyd opened this issue Apr 26, 2019 · 7 comments

Comments

@cydcydcyd
Copy link

when I use EpsilonSvmTrainer, I got some errors in SvmProblems.h
image
image

@cydcydcyd
Copy link
Author

Is there any example of EpsilonSvmTrainer? I'm not sure if I'm using it correctly.

@cydcydcyd
Copy link
Author

Here is my code:
image

Unhandled exception:
image

@Ulfgard
Copy link
Member

Ulfgard commented Apr 28, 2019 via email

@cydcydcyd
Copy link
Author

@Ulfgard could you help me about the Unhandled exception?
I try to compiling in debug mode, but it doesn't help.

@Ulfgard
Copy link
Member

Ulfgard commented Apr 29, 2019 via email

@Ulfgard
Copy link
Member

Ulfgard commented May 3, 2019

Oh sorry, i just realized i read this wrong on my mobile while on vacation. The second template parameter must be RealVector as well. i.e. single labels are encoded as vectors as size 1, as for example in LinearRegression or RandomForest

@cydcydcyd
Copy link
Author

cydcydcyd commented May 6, 2019

@Ulfgard
If I set the second template parameter RealVector, compilation errors will occur:
image
image
image

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

2 participants