From the course: Tableau and R for Analytics Projects

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Create a support vector machine model in R

Create a support vector machine model in R

From the course: Tableau and R for Analytics Projects

Start my 1-month free trial

Create a support vector machine model in R

- [Instructor] Support vector machines use input variables to classify training set data by placing each value into one or two categories. In this movie, I will show you how to create a linear support vector machine model in R. I've started with a blank R console, and I need to make sure that I have the package we're going to use for our support vector machine model installed, and that is package e1071. So I'll type install.packages, then in parentheses and double quotes, e1071 followed by second double quotes, right parentheses and Enter. I will select the closest CRAN mirror, the Oregon mirror's about 90 minutes away. So I'll click OK, and we will download the files. That was pretty quick, so we have them here. Now I need to add e1071 to my active library. So I'll type library, then in parentheses and quotes, e1071 and Enter, great, it's active and we can get going. The first thing that we'll do is to bring our…

Contents