What is feature importance and how is it computed?

Updated May 17, 2026

Short answer

Feature importance measures how much each feature contributes to model predictions.

Deep explanation

Feature importance can be computed using impurity reduction (tree-based models), permutation importance, or model-specific weights. It helps interpret models and identify influential features. However, correlated features can distort importance scores.

Unlock with a Pro subscription to view this section.

View pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More Supervised Learning interview questions

View all →