1. Home
  2. Data Science
  3. Scikit-learn
  4. Which of these classifiers does not provide a…

Added 30 Nov -0001

Which of these classifiers does not provide a predict_proba method?

  1. GaussianNB
  2. LinearSVC Correct answer
  3. LogisticRegression
  4. RandomForestClassifier

Correct answer

B. LinearSVC

16 views

MCQSEXAM

Explanation

LinearSVC exposes decision_function only; its scores are not calibrated into probabilities, so predict_proba is unavailable.

Reference

Asked in: NTS, PPSC IT, Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Scikit-learn MCQs

Practise all Scikit-learn MCQs

Similar MCQs