A
A
amanda_koval2021-01-07 19:04:18
Machine learning
amanda_koval, 2021-01-07 19:04:18

What formula is used to calculate the "importance of features"?

2676253917.png

Using the code xgb.plot_importance (model) I got the plot shown in the example.
How is the importance of features calculated? It needs to be described mathematically. Is there a calculation formula? Very necessary!!!!!!!!!! Haven't found anything on the internet yet.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
dmshar, 2021-01-07
@dmshar

But why do you say that you received the schedule?
But in the same article where you took "your" example from:
https://machinelearningmastery.com/feature-importa...
there is a link to the book and the page in it, which describes "how feature importance is calculated in boosted decision trees ,"
Here is also a link to a publicly available book with a corresponding description:
https://forums.fast.ai/t/feature-importance-of-ran...
You can also read it here:
https://datascience.stackexchange .com/questions/87...
https://towardsdatascience.com/be-careful-when-int...
If you really "really need" - then master it. And yes, learn to search on the Internet. Come in handy.

A
amanda_koval, 2021-01-08
@amanda_koval

I took this graph as an example, the idea is the same
, yes, but the code is described there. And I need a mathematical implementation. Probably met somewhere.
In any case, thanks for the help! I'll try to figure it out.

X
xmoonlight, 2021-01-08
@xmoonlight

See here how you can find the importance of features.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question