# How do I compute feature importance for models?

**URL:** <https://community.sparkflows.ai/t/how-do-i-compute-feature-importance-for-models/134>\
**Category:** Machine Learning\
**Created:** [December 16, 2025, 2:13pm UTC](https://community.sparkflows.ai/t/how-do-i-compute-feature-importance-for-models/134 "2025-12-16T14:13:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ragita](https://avatars.discourse-cdn.com/v4/letter/r/f05b48/32.png) [@Ragita](https://community.sparkflows.ai/u/Ragita)\
**Post date:** [December 16, 2025, 2:13pm UTC](https://community.sparkflows.ai/t/how-do-i-compute-feature-importance-for-models/134/1 "2025-12-16T14:13:07Z")

</div>

The feature importance will be computed only for supervised learning problems. If the model built was an unsupervised one like k-means, feature importance will not be computed. Do let us know what model you were trying to train.
