Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Advanced Analytics with R and Tableau

You're reading from  Advanced Analytics with R and Tableau

Product type Book
Published in Aug 2017
Publisher Packt
ISBN-13 9781786460110
Pages 178 pages
Edition 1st Edition
Languages
Authors (3):
Ruben Oliva Ramos Ruben Oliva Ramos
Profile icon Ruben Oliva Ramos
Jen Stirrup Jen Stirrup
Profile icon Jen Stirrup
Roberto Rösler Roberto Rösler
View More author details

Table of Contents (16) Chapters

Advanced Analytics with R and Tableau
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface
Advanced Analytics with R and Tableau The Power of R A Methodology for Advanced Analytics Using Tableau and R Prediction with R and Tableau Using Regression Classifying Data with Tableau Advanced Analytics Using Clustering Advanced Analytics with Unsupervised Learning Interpreting Your Results for Your Audience Index

Decision trees in Tableau using R


When the data has a lot of features that interact in complicated non-linear ways, it is hard to find a global regression model, that is, a single predictive formula that holds over the entire dataset. An alternative approach is to partition the space into smaller regions, then into sub-partitions (recursive partitioning) until each chunk can be explained with a simple model.

There are two main types of decision trees:

  • Classification trees: Predicted outcome is the class the data belongs to

  • Regression trees: Predicted outcome is a continuous variable, for example, a real number such as the price of a commodity

There are many ensemble machine learning methods that take advantage of decision trees. Perhaps the best known is the Random Forest classifier that constructs multiple decision trees and outputs the class that corresponds to the mode of the classes output by individual trees.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}