Data Science Asked by intmain12 on February 7, 2021
library(kernlab)
letter_classifier <- ksvm(letter ~ ., data = letters_train,
kernel = "vanilladot")
> Setting default kernel parameters Error in .local(x, ...) : No > Support Vectors found. You may want to change your parameters In > addition: Warning message: In .local(x, ...) : NAs introduced by > coercion
Check the structure of letters_train.
SVM is for continuous and categorical variable analysis, and surely one of your variables (letter) is likely still a character variable. Change it to factor and try again.
Answered by Opeyemi Olomola on February 7, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP