-
Notifications
You must be signed in to change notification settings - Fork 631
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
Caret varImp error with SVM model #1292
Comments
Did you ever find an answer to this? |
+1 in R 4.3.1 with caret 6.0-94.
Same with radial SVMs.
Only factor I have is the output, so my working assumption would be |
According to the documentation you should use Lines 6 to 7 in 5f4bd20
The support vector machine-family of functions doesn't appear to have a variable importance method. This can easily be verified by modifying model-argument to |
The Caret package has been showing an error message when I try to get the importance of variables using the svmRadial model for the diabetes dataset. The error message displayed is: "invalid type (list) for variable 'y'"
Created on 2022-06-14 by the reprex package (v2.0.1)
Created on 2022-06-14 by the reprex package (v2.0.1)
Created on 2022-06-14 by the reprex package (v2.0.1)
The text was updated successfully, but these errors were encountered: