ML Concepts – Classification vs Regression

Classification Regression – Classification is the task of predicting a discrete class label.– In a classification problem data is labelled into one of two or..

ClassificationRegression
– Classification is the task of predicting a discrete class label.
– In a classification problem data is labelled into one of two or more classes.
– A classification problem with two classes is called binary, more than two classes is called a multi-class classification.
– Classifying an email as spam or non-spam is an example of a classification problem.
– Regression is the task of predicting a continuous quantity.
– A regression problem requires the prediction of a quantity.
– A regression problem with multiple input variables is called a multivariate regression problem.
– Predicting the price of a stock over a period of time is a regression problem.
 ClassificationRegression
Value takes by target variableDiscrete set of valuesContinuous Values
How to Assess Model FitPercentage of correct classficicationRoot mean squared error
Type of Response VariableCategorical (Categorical Data = Nominal = String = Qualitative Data = Ordinal = Booleon)Continous
PredictPass or Fail/ Spam or Not SpamPercentage / Price of Stock Market
Dependant VariableCategoricalNumerical

About The Author

Leave a Reply

Your email address will not be published. Required fields are marked *

About the Author

Dr Pranay Jha

Dr. Pranay Jha is a Cloud and AI Consultant with 18+ years of experience in hybrid cloud, virtualization, and enterprise infrastructure transformation. He specializes in VMware technologies, multi-cloud strategy, and Generative AI solutions. He holds a PhD in Computer Applications with research focused on Cloud and AI, has published multiple research papers, and has been a VMware vExpert since 2016 and a VMUG Community Leader.

BlockSpare — News, Magazine and Blog Addons for (Gutenberg) Block Editor