Logistic regression gives probabilities as a result then how do we use it to predict a binary outcome?



Logistic regression gives probabilities as a result then how do we use it to predict a binary outcom..

Answer / Balram Sarkar

To predict a binary outcome using logistic regression, you can set a threshold (often 0.5) for the probability output from the model. If the predicted probability is greater than or equal to the threshold, the model predicts the positive class; otherwise, it predicts the negative class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AI Machine Learning Interview Questions

What is bucketing in machine learning?

1 Answers  


What is bayes' theorem?

1 Answers  


What is bagging and boosting in Machine Learning?

1 Answers  


Explain the Algorithm Technique of Reinforcement Learning in Machine Learning?

1 Answers  


What is supervised and unsupervised machine learning?

1 Answers  


what’s a fourier transform?

1 Answers  


Explain me how would you handle an imbalanced dataset?

1 Answers  


What are the last machine learning papers you've read?

1 Answers  


An example where ensemble techniques might be useful?

1 Answers  


List down various approaches for machine learning?

1 Answers  


What is an AdaGrad algorithm in machine learning?

1 Answers  


What is Overfitting? And how do you ensure you’re not overfitting with a model?

1 Answers  


Categories
  • AI Algorithms Interview Questions AI Algorithms (74)
  • AI Natural Language Processing Interview Questions AI Natural Language Processing (96)
  • AI Knowledge Representation Reasoning Interview Questions AI Knowledge Representation Reasoning (12)
  • AI Robotics Interview Questions AI Robotics (183)
  • AI Computer Vision Interview Questions AI Computer Vision (13)
  • AI Neural Networks Interview Questions AI Neural Networks (66)
  • AI Fuzzy Logic Interview Questions AI Fuzzy Logic (31)
  • AI Games Interview Questions AI Games (8)
  • AI Languages Interview Questions AI Languages (141)
  • AI Tools Interview Questions AI Tools (11)
  • AI Machine Learning Interview Questions AI Machine Learning (659)
  • Data Science Interview Questions Data Science (671)
  • Data Mining Interview Questions Data Mining (120)
  • AI Deep Learning Interview Questions AI Deep Learning (111)
  • Generative AI Interview Questions Generative AI (153)
  • AI Frameworks Libraries Interview Questions AI Frameworks Libraries (197)
  • AI Ethics Safety Interview Questions AI Ethics Safety (100)
  • AI Applications Interview Questions AI Applications (427)
  • AI General Interview Questions AI General (197)
  • AI AllOther Interview Questions AI AllOther (6)