Skip to content

Question Regarding Pipeline #2

@supradl

Description

@supradl

Dear Uncle Steve,

Thank you so much for your tutorial on Pipelines, I've learned a lot from it.

However, I do have a question regarding feature importance.

In your code, you're able to get the feature importances for the pipeline, however, due to the ColumnTransformer, the name of the columns are taken out and replaced by numbers. This leads to me not being able to tell which columns are important (because the columns are all numbers instead of the original names).

How do we overcome this problem?

Thank you!

Daniel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions