As of now, all models work on their own - each is called separately and initialised separately. This leads to some inefficiencies. For instance, ChemLog extra and the smoothing both load ChEBI from a chebi.obo file and construct a hierarchy graph. They don't even use the same chebi.obo file.
In general, it is not possible to share resources between arbitrary models, but in some cases, this might be useful.
Todo
- Provide some standard resources by the ensemble that might be needed for different models (e.g., a chebi.obo file, a hierarchy graph, rdkit mol objects)
As of now, all models work on their own - each is called separately and initialised separately. This leads to some inefficiencies. For instance, ChemLog extra and the smoothing both load ChEBI from a
chebi.obofile and construct a hierarchy graph. They don't even use the samechebi.obofile.In general, it is not possible to share resources between arbitrary models, but in some cases, this might be useful.
Todo