How do you recommend saving and loading trained models? #484
Answered
by
PivovarA
johnandersen777
asked this question in
Q&A
-
For example in should we just pickle |
Beta Was this translation helpful? Give feedback.
Answered by
PivovarA
Aug 17, 2020
Replies: 2 comments
-
This is what DFFML has done: self.lm_trained = self.lm.finalize().model
self.joblib.dump(self.lm_trained, self.path) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @pdxjohnny |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
PetrovKP
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @pdxjohnny
In daal each model has its own serializer. Therefore, these serializers are called during serialization.
Therefore joblib should be enough for model saving