Kernel trick code question

I am very new to R . When I type this code I get an error. I cannot figure out why.

svmfit <- e1071::svm(training_data, y = train_labels, kernel = 'radial', cost =1, gamma =3)

Error message:
Error in if (any(co)) { : missing value where TRUE/FALSE needed

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.