Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何获取特征变量重要性排序 #75

Closed
wlmszdnb opened this issue May 1, 2021 · 2 comments
Closed

如何获取特征变量重要性排序 #75

wlmszdnb opened this issue May 1, 2021 · 2 comments

Comments

@wlmszdnb
Copy link

wlmszdnb commented May 1, 2021

DF可以像RF一样获得到特征的重要性排序吗

@xuyxu
Copy link
Member

xuyxu commented May 1, 2021

Hi @wlmszdnb, the answer is YES.

To get the importance, first train a DF model with backend set to "sklearn", then you can use the get_layer_feature_importances function to obtian the feature importance per layer.

More info available here.

@xuyxu xuyxu added the need help label May 1, 2021
@xuyxu
Copy link
Member

xuyxu commented May 7, 2021

Closed due to inactivity.

@xuyxu xuyxu closed this as completed May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants