O'Reilly logo

R for Data Science by Dan Toomey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. Supervised and Unsupervised Learning

The two basic methods of machine learning are supervised and unsupervised machine learning. In machine learning, we are usually dealing with a target variable and predictor variables. The target variable is the object of the prediction or what we are trying to learn. We want to learn how to predict that variable going forward. The predictor variables are the variables we put into our model to obtain information about the target variable. We want to learn how changes in our predictor variables affect the target variable.

Supervised learning involves the use of a target variable and a number of predictor variables that are put into a model to enable the system to predict the target. This is also known ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required