What is the main difference between logistic regression and linear regression?

Practice Questions

Q1
What is the main difference between logistic regression and linear regression?
  1. Logistic regression predicts continuous values, while linear regression predicts categorical values.
  2. Logistic regression is used for classification, while linear regression is used for regression tasks.
  3. Logistic regression requires more data than linear regression.
  4. There is no difference; they are the same.

Questions & Step-by-Step Solutions

What is the main difference between logistic regression and linear regression?
  • Step 1: Understand that linear regression is used when we want to predict a number, like height or price.
  • Step 2: Know that logistic regression is used when we want to classify something into two categories, like yes/no or true/false.
  • Step 3: Remember that linear regression gives us a straight line as a result, while logistic regression gives us an S-shaped curve (sigmoid) to show probabilities.
No concepts available.
Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely