What is the primary difference between classification and regression in machine learning?

  • Classification and regression are essentially the same thing.
  • Classification is used for predicting categorical outcomes, while regression is used for predicting numeric outcomes.
  • Classification is used for predicting numeric outcomes, while regression is used for predicting categorical outcomes.
  • Regression is only used for unsupervised learning tasks.
The primary difference is that classification is used for predicting categorical outcomes (e.g., class labels), while regression is used for predicting numeric outcomes (e.g., quantity). Classification answers questions like "Is this email spam or not?" whereas regression answers questions like "How much will the house sell for?"
Add your answer
Loading...

Leave a comment

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