-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Description
hello, I'm trying to create a dataset and one feature I'd like to encode is WEEKDAY as a one-hot encoded vector
I tried:
engine.add(factors.filter.OneHotEncoder(factors.WEEKDAY), "weekday")
and
engine.add(factors.WEEKDAY.one_hot(), "weekday")
seems to be called and encoded properly, however I get an error saying factors cannot return multiple values.
What's the proper way to use the OneHotEncoder filter?
Metadata
Metadata
Assignees
Labels
No labels