# Variable Importance in Prediction (Classification or Regression) Molels

**URL:** <https://forum.knime.com/t/variable-importance-in-prediction-classification-or-regression-molels/8027>\
**Category:** KNIME Analytics Platform\
**Created:** [May 27, 2015, 3:13am UTC](https://forum.knime.com/t/variable-importance-in-prediction-classification-or-regression-molels/8027 "2015-05-27T03:13:05Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![PistolPete](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/p/278dde/32.png) [@PistolPete](https://forum.knime.com/u/PistolPete)\
**Post date:** [May 27, 2015, 3:13am UTC](https://forum.knime.com/t/variable-importance-in-prediction-classification-or-regression-molels/8027/1 "2015-05-27T03:13:05Z")

</div>

Is there a way to calculate the relative importance of each input variable for a given prediction model? I could not find it in KNIME. Most commercial DM tools like IBM SPSS Modeler, Statistica and SAS EM has this feature. It is not the same as variable selection. Rather,&nbsp;it is derived from the&nbsp;sensitivity analysis of the model, following a leave one out and assess the relative degradation on predictive accuracy methodology.

Thank you.

Delen&nbsp;

---

<div class="post-metadata">

**Author:** ![Aaron\_Hart](https://forum-cdn.knime.com/user_avatar/forum.knime.com/aaron_hart/32/7814_2.png) [@Aaron\_Hart](https://forum.knime.com/u/Aaron_Hart)\
**Post date:** [June 2, 2015, 9:25pm UTC](https://forum.knime.com/t/variable-importance-in-prediction-classification-or-regression-molels/8027/2 "2015-06-02T21:25:21Z")

</div>

Hi Delen,&nbsp;

Have you had a look at the backward feature elimination loop? &nbsp;I think it will give you the information that you need. &nbsp;Other nodes, such as the logistic regression and Tree Ensemble have additional parameters produced by the learners that give some hints about variable importance.&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![PistolPete](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/p/278dde/32.png) [@PistolPete](https://forum.knime.com/u/PistolPete)\
**Post date:** [July 28, 2015, 2:18pm UTC](https://forum.knime.com/t/variable-importance-in-prediction-classification-or-regression-molels/8027/3 "2015-07-28T14:18:00Z")

</div>

Aaron,

I have not looked at it. To be honest, i do not know how to do it. I am new to KNIME and am very much interested in it. I am still using other tools that provides Variable Importance as part of their output. I honesty think it is among the most informative features of predictive analytics. Without it, you are just predicting. With it, you are also explaining the variable contributions/importance. Do you happen to have a workflow I can look at, or use to create Variable Importance scores?

Thank you!

Delen

---

<div class="post-metadata">

**Author:** ![Iris](https://forum-cdn.knime.com/user_avatar/forum.knime.com/iris/32/14_2.png) [@Iris](https://forum.knime.com/u/Iris)\
**Post date:** [July 28, 2015, 3:38pm UTC](https://forum.knime.com/t/variable-importance-in-prediction-classification-or-regression-molels/8027/4 "2015-07-28T15:38:47Z")

</div>

Hi Delen,

I made you a workflow demonstrating how Variable Importance can be realized using KNIME.

I hope this will get you started. If you need anything else, leave me a note and we will figure it out :)

Best, Iris

- [variableimportance.zip](https://www.knime.com/sites/default/files/variableimportance.zip)

---

<div class="post-metadata">

**Author:** ![farmer](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/f/e495f1/32.png) [@farmer](https://forum.knime.com/u/farmer)\
**Post date:** [July 28, 2015, 11:36pm UTC](https://forum.knime.com/t/variable-importance-in-prediction-classification-or-regression-molels/8027/5 "2015-07-28T23:36:04Z")

</div>

How do I import the .zip file into Knime? Thanks

---

<div class="post-metadata">

**Author:** ![christian.birkhold](https://forum-cdn.knime.com/user_avatar/forum.knime.com/christian.birkhold/32/346_2.png) [@christian.birkhold](https://forum.knime.com/u/christian.birkhold)\
**Post date:** [July 29, 2015, 8:55am UTC](https://forum.knime.com/t/variable-importance-in-prediction-classification-or-regression-molels/8027/6 "2015-07-29T08:55:05Z")

</div>

Hi Farmer,

in the quick-start guide you find all information about importing / exporting workflow into KNIME:

https://tech.knime.org/files/KNIME\_quickstart.pdf  
  
I hope this helps,

Christian

---

<div class="post-metadata">

**Author:** ![farmer](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/f/e495f1/32.png) [@farmer](https://forum.knime.com/u/farmer)\
**Post date:** [July 29, 2015, 2:36pm UTC](https://forum.knime.com/t/variable-importance-in-prediction-classification-or-regression-molels/8027/7 "2015-07-29T14:36:13Z")

</div>

Thanks Christian - I should have looked there first!

.

---

<div class="post-metadata">

**Author:** ![Bill\_Bane](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/b/9d8465/32.png) [@Bill\_Bane](https://forum.knime.com/u/Bill_Bane)\
**Post date:** [March 13, 2017, 10:24pm UTC](https://forum.knime.com/t/variable-importance-in-prediction-classification-or-regression-molels/8027/8 "2017-03-13T22:24:13Z")

</div>

Thank you very much, Iris. &nbsp;This workflow is very helpful and instructive.

-Bill

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [June 23, 2023, 8:25pm UTC](https://forum.knime.com/t/variable-importance-in-prediction-classification-or-regression-molels/8027/9 "2023-06-23T20:25:36Z")

</div>


