What does feature_importances_ of a fitted random forest express?
-
A
Number of trees using a feature
-
B
Statistical p-value of each feature
-
C
Original scale of each feature
-
D
Relative contribution of each feature
Correct answer
Correct answer
D. Relative contribution of each feature
17 views
Explanation
feature_importances_ reports impurity-based importance, with values that sum to one over all features.
Reference
Asked in: NTS, PPSC IT, Interviews
Doubts & discussion
Not sure why the answer is D? Ask here and get an explanation.
Ask a doubt about this MCQ