When will you use classification over regression?

devquora
devquora

Posted On: May 14, 2024

 

Classification is used when the output variable is a category such as “red” or “blue”, “spam” or “not spam”. It is used to draw a conclusion from observed values. Differently from, regression which is used when the output variable is a real or continuous value like “age”, “salary”, etc. When we must identify the class, the data belongs to we use classification over regression. Like when you must identify whether a name is male or female instead of finding out how they are correlated with the person.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Artificial Intelligence Interview Questions

    How will you explain machine learning to a layperson?

    Machine learning is pattern recognition. Like Youtube’s video recommendations, Facebook’s News Feeds, etc...

    Artificial Intelligence Interview Questions

    What is Breath-First Search Algorithm?

    Breath-First search involves traversing a binary search tree one level at a time...