# Regression vs Classification

In machine learning Regression and Classification represent the model of a prediction.

**Regression**

A regression algorithm predicts a continuous output such as a projected stock price, forecast new product orders, or estimate the sales price of a house. An easy way to remember regression is by the answer you would give if asked to predict tomorrows weather in Fahrenheit.

**Classification**

A classification algorithm predicts a discrete output such as choosing between a Bull/Bear market, whether an image contains a cat, or if an x-ray contains a tumor. A convenient way to remember classification is by the answer you would give if asked to predict tomorrows weather by choosing cold or hot.