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

LSSVMs have a regularization parameter #415

Closed
bhvieira opened this issue Apr 25, 2016 · 4 comments
Closed

LSSVMs have a regularization parameter #415

bhvieira opened this issue Apr 25, 2016 · 4 comments

Comments

@bhvieira
Copy link

@bhvieira bhvieira commented Apr 25, 2016

Just a minor comment, while in the models list it makes clear SVM have a regularization parameter C || cost to be tuned, the LSSVM also has one: tau. caret doesn't reflect that.

@bhvieira bhvieira changed the title LSSVM have a regularization parameter LSSVMs have a regularization parameter Apr 25, 2016
@topepo
Copy link
Owner

@topepo topepo commented Jul 27, 2016

Ah, I overlooked that. Do you want to suggest a range of appropriate values?

@bhvieira
Copy link
Author

@bhvieira bhvieira commented Jul 27, 2016

@topepo Well, I have no theory to back it, 1E-2 is the default. tau 10^(-4:4) brings great variability in iris. See these results, the training error for the iris dataset.

y = c(0.01342282, 0.01342282, 0.006711409,0.01342282,0.02013423,0.02684564,0.03355705,0.04026846,0.1073826,0.3288591,0.3288591)
x = 10^(-5:5)

The region around 10^(-4:-2) is the optimum.

@topepo
Copy link
Owner

@topepo topepo commented Jul 27, 2016

Once I went back and looked at the papers, I think that I will base the
grid off of the same ones for cost in the usual SVM models.

I've sent an email to the package maintainer. I have almost always gotten
an error using the linear kernel with these models and would like to know
if there is a fix.

I'll check in some code as soon as I'm done testing.

On Wed, Jul 27, 2016 at 3:03 PM, Bruno Hebling Vieira <
notifications@github.com> wrote:

@topepo https://github.com/topepo Well, I have no theory to back it,
1E-2 is the default. tau 10^(-4:4) brings great variability in iris. See
these results

y = c(0.01342282, 0.01342282, 0.006711409,0.01342282,0.02013423,0.02684564,0.03355705,0.04026846,0.1073826,0.3288591,0.3288591)
x = 10^(-5:5)

The region around 10^(-4:-2) is the optimum.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#415 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFdy498bEhYei63RVbrEIC5102HyP14yks5qZ6uNgaJpZM4IOmez
.

topepo added a commit that referenced this issue Jul 27, 2016
@topepo
Copy link
Owner

@topepo topepo commented Aug 5, 2016

on CRAN

@topepo topepo closed this Aug 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.