Regression vs Classification
Regression
This predicts a continuous output.
Examples:
- Predict height of plant, based on rain fall
- Predicts salary, based on age and internet access
- Predict MPG, based on size and year
Classification
This predicts a discrete label.
It can be used to predict two outcomes, or to predict multiple outcomes,
known as Binary and Multi-class, Classification respectively
Examples Binary:
- Email, spam or not
- Will it rain, Yes or No
Examples Multi:
- Is it a Pear, Apple, or Peach
- What letter is it
- What size of fruit is it, small medium or large