Book Image

Mastering Machine Learning with R, Second Edition - Second Edition

Book Image

Mastering Machine Learning with R, Second Edition - Second Edition

Overview of this book

This book will teach you advanced techniques in machine learning with the latest code in R 3.3.2. You will delve into statistical learning theory and supervised learning; design efficient algorithms; learn about creating Recommendation Engines; use multi-class classification and deep learning; and more. You will explore, in depth, topics such as data mining, classification, clustering, regression, predictive modeling, anomaly detection, boosted trees with XGBOOST, and more. More than just knowing the outcome, you’ll understand how these concepts work and what they do. With a slow learning curve on topics such as neural networks, you will explore deep learning, and more. By the end of this book, you will be able to perform machine learning with R in the cloud using AWS in various scenarios with different datasets.
Table of Contents (23 chapters)
Title Page
Credits
About the Author
About the Reviewers
Packt Upsell
Customer Feedback
Preface
16
Sources

Chapter 6. Classification and Regression Trees

"The classifiers most likely to be the best are the random forest (RF) versions, the best of which (implemented in R and accessed via caret), achieves 94.1 percent of the maximum accuracy overcoming 90 percent in the 84.3 percent of the data sets."                                                                                            - Fernández-Delgado et al. (2014)

This quote from Fernández-Delgado et al. in the Journal of Machine Learning Research is meant to demonstrate that the techniques in this chapter are quite powerful, particularly when used for classification problems. Certainly, they don't always offer the best solution but they do provide a good starting point.

In the previous chapters, we examined the techniques used to predict either a quantity or a label classification. Here, we will apply them to both types of problems. We will also approach the business problem differently than in the previous chapters. Instead of defining...