Supervised learning (machine learning) takes a known
set of input data and known responses to the data, and seeks to build a
predictor model that generates reasonable predictions for the response to new
data.
Suppose you want to predict if someone will have a
heart attack within a year. You have a set of data on previous, including age,
weight, height, blood pressure, etc. You know if the previous had heart attacks
within a year of their data measurements. So the problem is combining all the
existing data into a model that can predict whether a new person will have a
heart attack within a year.
Supervised learning splits into two broad
categories:
- Classification for responses that can have just a few known values, such as 'true' or 'false'. Classification algorithms apply to nominal, not ordinal response values.
- Regression for responses that are a real number, such as miles per gallon for a particular car.
You can have trouble deciding whether you have a
classification problem or a regression problem. In that case, create a
regression model first, because they are often more computationally efficient.
While there are many Statistics and Machine Learning
Toolbox algorithms for supervised learning, most use the same basic workflow
for obtaining a predictor model.

No comments:
Post a Comment