Skip to content

Instantly share code, notes, and snippets.

@ergo70
Last active January 27, 2016 05:55
Show Gist options
  • Save ergo70/eaa735905fb286209131 to your computer and use it in GitHub Desktop.
Save ergo70/eaa735905fb286209131 to your computer and use it in GitHub Desktop.
Prediction
x <- predict(mysvm,c(2))
print(as.character(x[1:1]))
[1] "b"
x <- predict(mysvm,c(7))
print(as.character(x[1:1]))
[1] "a"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment