Using Classification vs Regression
Classification and regression are both supervised machine learning algorithms. Their difference is derived from the type of their target variable:
Classification is used when the target is categorical. This means it can be used when answering a yes/no question, estimating gender, type of vehicle, breed of a dog, etc.
Regression is used when the target is continuous. This means it can be used when estimating people’s age, salary, price of real estate, how fast an animal is going to get adopted, etc.
