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

How to save the name of a feature when saving model feature importance #1836

Open
hzy0110 opened this issue Jul 30, 2024 · 0 comments
Open
Labels
question Further information is requested

Comments

@hzy0110
Copy link

hzy0110 commented Jul 30, 2024

hello
I use the following code

 with R.start(experiment_name=EXP_NAME):
    mlflow.lightgbm.autolog()
    R.log_params(**flatten_dict(model._params)) 
    model.fit(dataset=ds) 

Feature importance is saved
But the saved name is Column_XX
What I want saved is the factor name, such as ROC5

I know it can be obtained via
ds.handler.get_feature_config()
But I want to automatically record the original name.

@hzy0110 hzy0110 added the question Further information is requested label Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant