alibaba / FederatedScope

An easy-to-use federated learning platform
https://www.federatedscope.io
Apache License 2.0
1.26k stars 206 forks source link

Hello, I would like to ask how to use the final 'feature_importance' value inside the 'federatedscope.vertical_fl.tree_based_models.trainer.feature_order_protected_trainer.py' file? #743

Open xwzhang12 opened 8 months ago

xwzhang12 commented 8 months ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

qbc2016 commented 8 months ago

Hello, sorry for the late response. The values in feature_importance evaluate the relative importance of each feature in the model's predictions. By analyzing feature importance, clients can identify which features contribute the most to the model's predictive ability. This information can be used for feature selection or dimensionality reduction to simplify the model and improve performance.