Hybrid models
Semi-supervised model
- class src.models.hybrid.semi_supervised.HybridModel(config: Config, logger: Logger, taxonomy: Taxonomy, supervised_model: Model, unsupervised_model: Model)[source]
Bases:
ModelThe HybridModel class implements a semi-supervised approach.
It starts with a base model and uses one of the unsupervised flavours for the rest of the predictions in the tree.
Semi-supervised selective model
- class src.models.hybrid.semi_supervised_selective.SelectiveHybridModel(config: Config, logger: Logger, taxonomy: Taxonomy, supervised_model: Model, unsupervised_model: Model)[source]
Bases:
ModelSelective hybrid model is similar to the regular hybrid model, the only difference is that it only processes outputs of sub-nodes in the tree if they exceed a certain threshold