Oldrich: > > The columns in data passed to svm need to contain only numeral values.
This is not correct, svm() of course also accepts factors and then builds a model matrix similar to lm(). But it won't accept, e.g., character vectors. > I simply assigned a number to each category of each feature. However, > there must not be a column where all the numbers are equal yes, since the intercept is always included in svm models anyway. Best David ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
