Skip to content

Categorical labels in IFE models #77

@rachieg2

Description

@rachieg2

When creating the internal model for IFE, '_label' appears to use the internal labeling from .cat.categories. However, other models (including Exit Modeler) appear to use the original values. This appears to create problems when matching the outputs from these models, especially if the original labels are numeric. We need to investigate the labeling of categorical variables, especially how it relates to IFE.

ids["_label"] = ids["_label"].cat.codes

1e40f26

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions