alteryx / categorical_encoding

Repository for the research and implementation of categorical encoding into a Featuretools-compatible Python library
BSD 3-Clause "New" or "Revised" License
50 stars 15 forks source link

do you have code example how to do one hot encoding for test data #12

Open Sandy4321 opened 4 years ago

Sandy4321 commented 4 years ago

do you have code example how to do one hot encoding for test data

in order to be in synch/match with train data

something like this

http://fastml.com/how-to-use-pd-dot-get-dummies-with-the-test-set/