gdmlModel
#
- class mbgdml.models.gdmlModel(model, comp_ids=None, criteria=None, for_predict=True)[source]#
- Parameters:
comp_ids (
iterable
, default:None
) – Model component IDs that relate entity IDs of a structure to a fragment label. This overrides any modelcomp_ids
if they are present.criteria (
mbgdml.descriptors.Criteria
, default:None
) – Initialized descriptor criteria for accepting a structure based on a descriptor and cutoff.for_predict (
bool
, default:True
) – Unpack the model for use in predictors.
- add_modifications(dset)[source]#
mbGDML-specific modifications of models.
Transfers information from data set to model.
- Parameters:
dset (
dict
) – Dictionary of a mbGDML data set.
- property code_version#
mbGDML version used to train the model.
- Raises:
AttributeError – If accessing information when no model is loaded.