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 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…

1 minute

Read Time

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


Discover more from Journal of Intelligent Infrastructure

Subscribe to get the latest posts sent to your email.

Architect’s Toolkit

About the Author

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.

Discover more from Journal of Intelligent Infrastructure

Subscribe now to keep reading and get access to the full archive.

Continue reading