Save OneHot Encoder object python
simple use of pickel for OHE will do for me.
Is there anyway of saving OneHotencoder object in python? . Reason is being I used that object in preprocessing of training data and test data and we are building a API containing the same trained model and that will be injected by real data from the website when user created. So first that data needs to be preprocessed and then model can predict o/p for the same.
Thanks