From the course: Tableau and R for Analytics Projects

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Add an R support vector machine model to a Tableau viz

Add an R support vector machine model to a Tableau viz

From the course: Tableau and R for Analytics Projects

Add an R support vector machine model to a Tableau viz

- [Instructor] After you create a Tableau visualization that contains data you want to analyze using a support factor machine, you can add the R statement to a calculated field. With that calculation in place, you can add as the results to your viz and see the results. The sample file that I'm using is 0_04_SVM Calculation, and you can find it in the chapter five folder of the exercise files collection. This is the vis that we created in the previous movie, and it's just a straightforward display of customer data. Specifically, we have whether they made a purchase in the most recent product cycle. From here, we can create a calculated field running an R script, but first I need to make sure of two things, first, that I have the Rserve process running in R, and second, that I have linked to it. I already have the R console open, so I'll press alt tab to move to that. I'll start by adding Rserve to the library, so I'll type…

Contents