Modeling using decision trees

Decision trees are algorithms which again belong to the supervised machine learning algorithms family. They are also used for both classification and regression, often called CART, which stands for classification and regression trees. These are used a lot in decision support systems, business intelligence, and operations research.

Decision trees are mainly used for making decisions that would be most useful in reaching some objective and designing a strategy based on these decisions. At the core, a decision tree is just a flowchart with several nodes and conditional edges. Each non-leaf node represents a conditional test on one of the features and each edge represents an outcome of the test. Each leaf node represents ...

Get R Machine Learning By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.