Rogerh91 / Springboard-Blog-Tutorials

71 stars 87 forks source link

Error ksvm: No Support Vectors found. You may want to change your parameters #2

Open NastaseMariana opened 6 years ago

NastaseMariana commented 6 years ago

Hello ,Thank you for the tutorial. Unfortunately, I have an error when I try to run the "KSVM" part. I used the same files, like you.

The error is : df.model<-ksvm(corpus~., data= df.train, kernel="rbfdot") Error in .local(x, ...) :No Support Vectors found. You may want to change your parameters

Do you have any idea where is the problem?

Thank you.

belintane commented 3 years ago

@NastaseMariana

Did you try to convert corpus as a factor instead of char?