Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upfactor2integer 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 " |
Could we have a
step_factor2int()or something similar to convert factors into integers? Ideally with afromparameter 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?