1. Home
  2. Data Science
  3. Scikit-learn
  4. What does feature_importances_ of a fitted random forest…

Added 30 Nov -0001

What does feature_importances_ of a fitted random forest express?

  1. Number of trees using a feature
  2. Statistical p-value of each feature
  3. Original scale of each feature
  4. Relative contribution of each feature Correct answer

Correct answer

D. Relative contribution of each feature

17 views

MCQSEXAM

Explanation

feature_importances_ reports impurity-based importance, with values that sum to one over all features.

Reference

Asked in: NTS, PPSC IT, Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is D? 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