Skip to content

factor2integer or arbitrary transformations #185

@kevinykuo

Description

@kevinykuo

Could we have a step_factor2int() or something similar to convert factors into integers? Ideally with a from parameter that specifies the indexing (e.g. 0- or 1- based). Use case here is feeding data into embedding layers of keras models.

Alternatively, maybe there can be a step_lambda() that takes a user defined function for random use cases like this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions