-
Notifications
You must be signed in to change notification settings - Fork 113
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
factor2integer or arbitrary transformations #185
Comments
This goes against every notation that I hold dear... but I know why you need it for sparks so okay.
We'll be adding some |
Actually, what we really need is a Either way, we'll be in a better state than the current workaround in the wild which is " |
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex https://reprex.tidyverse.org) and link to this issue. |
Could we have a
step_factor2int()
or something similar to convert factors into integers? Ideally with afrom
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?The text was updated successfully, but these errors were encountered: