Book Image

Applied Supervised Learning with R

By : Karthik Ramasubramanian, Jojo Moolayil
Book Image

Applied Supervised Learning with R

By: Karthik Ramasubramanian, Jojo Moolayil

Overview of this book

R provides excellent visualization features that are essential for exploring data before using it in automated learning. Applied Supervised Learning with R helps you cover the complete process of employing R to develop applications using supervised machine learning algorithms for your business needs. The book starts by helping you develop your analytical thinking to create a problem statement using business inputs and domain research. You will then learn different evaluation metrics that compare various algorithms, and later progress to using these metrics to select the best algorithm for your problem. After finalizing the algorithm you want to use, you will study the hyperparameter optimization technique to fine-tune your set of optimal parameters. The book demonstrates how you can add different regularization terms to avoid overfitting your model. By the end of this book, you will have gained the advanced skills you need for modeling a supervised machine learning algorithm that precisely fulfills your business needs.
Table of Contents (12 chapters)
Applied Supervised Learning with R
Preface

Summary


In this chapter, we discussed linear regression in more detail after a brief introduction in the previous chapter. Certainly, the discussion on linear regression led to a series of diagnostics that gave directions to discussing other type of regression algorithms. Quantile, polynomial, ridge, LASSO, and elastic net, all of these are derived from linear regression, with the differences coming from the fact that there are some limitations in linear regression that each of these algorithms helped overcome. Poisson and Cox proportional hazards regression model came out as a special case of regression algorithms that work with count and time-to-event dependent variables, respectively, unlike the others that work with any quantitative dependent variable.

In the next chapter, we will explore the second most commonly applied machine learning algorithm and solve problems associated with it. You will also learn more about classification in detail. Chapter 5, Classification, similar to this...