This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
The SVM tool reports a disconcerting `No data fields exist for this table` error when less than two numeric predictors are used. The error is thrown by the third line below:
num.preds <- attr(the.model$terms, "dataClasses")[-1]
num.preds <- names(num.preds)[num.preds == "numeric"]
num.preds.df <- as.data.frame(t(combn(num.preds, 2)))
...in which `combn` tries to take 2 at a time even when there are less than 2.
Would you be able to post a worked example in the Advanced Analytics discussion board (and link back to it on this thread) so that folk can look into this with you?
Hmm I have the same error with multiple variables, but if you run it seems to work fine now. Maybe this was solved?