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

fix model specification with two liblinear models #826

Closed
topepo opened this issue Feb 5, 2018 · 0 comments
Closed

fix model specification with two liblinear models #826

topepo opened this issue Feb 5, 2018 · 0 comments
Labels

Comments

@topepo
Copy link
Owner

@topepo topepo commented Feb 5, 2018

correct:

>> $svmLinearWeights2$fit 
>> function (x, y, wts, param, lev, last, classProbs, ...) 
>> { 
>> model_type <- if (param$Loss == "L2") 
>> _2_ 
>> else _3_ 

For svmLinear3 it should be

>> > if(param$Loss == "L2") { 
>> >   model_type <- if(is.factor(y)) 2 else 12 
>> > } else model_type <- if(is.factor(y)) 3 else 13 
@topepo topepo added the next release label Feb 27, 2018
topepo added a commit that referenced this issue Mar 6, 2018
@topepo topepo closed this Apr 19, 2018
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
1 participant
You can’t perform that action at this time.