I have a setup with two classifiers: the builtin embedding_classifier and a custom one.
The custom one needs to do some analysis on the results of the embedding classifier and decide on some confidence thresholds. This would be the its “training” step. I am using now some ugly workaround involving an external script doing the analysis in a dedicated run and dumping some pickle that the custom classifier then reads at prediction time, but I would like to move this to the “train” method of the class, so I can do everything in one go and persistify the confidence thresholds with the model.
Here are my questions:
- is the training order guaranteed to be the one in which the classifiers are mentioned in the configuration? Can I be sure that when the training of the second classifier starts, the embedding_classifier has been already trained?
- how do I access the freshly trained embedding_classifier instance from within the custom classifier during the training session?
Thanks for your help,