InstalledSamplers#
- class pymc_marketing.utils.InstalledSamplers(**data)[source]#
Schema for the samplers available to PyMC-Marketing and the default selection.
Methods
InstalledSamplers.__init__(**data)Create a new model by parsing and validating input data from keyword arguments.
InstalledSamplers.construct([_fields_set])InstalledSamplers.copy(*[, include, ...])Returns a copy of the model.
InstalledSamplers.dict(*[, include, ...])InstalledSamplers.json(*[, include, ...])InstalledSamplers.model_construct([_fields_set])Creates a new instance of the
Modelclass with validated data.InstalledSamplers.model_copy(*[, update, deep])!!! abstract "Usage Documentation"
InstalledSamplers.model_dump(*[, mode, ...])!!! abstract "Usage Documentation"
InstalledSamplers.model_dump_json(*[, ...])!!! abstract "Usage Documentation"
Generates a JSON schema for a model class.
Compute the class name for parametrizations of generic classes.
InstalledSamplers.model_post_init(context, /)Override this method to perform additional initialization after
__init__andmodel_construct.InstalledSamplers.model_rebuild(*[, force, ...])Try to rebuild the pydantic-core schema for the model.
InstalledSamplers.model_validate(obj, *[, ...])Validate a pydantic model instance.
InstalledSamplers.model_validate_json(...[, ...])!!! abstract "Usage Documentation"
Validate the given object with string data against the Pydantic model.
InstalledSamplers.parse_file(path, *[, ...])InstalledSamplers.parse_raw(b, *[, ...])InstalledSamplers.schema([by_alias, ...])InstalledSamplers.schema_json(*[, by_alias, ...])InstalledSamplers.update_forward_refs(**localns)InstalledSamplers.validate(value)Attributes
model_computed_fieldsmodel_configConfiguration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].model_extraGet extra fields set during validation.
model_fieldsmodel_fields_setReturns the set of fields that have been explicitly set on this model instance.
availabledefaultversions