Champion Model Package
- class datarobot.models.deployment.champion_model_package.ChampionModelPackage(id, registered_model_id, registered_model_version, name, model_id, model_execution_type, is_archived, import_meta, source_meta, model_kind, target, model_description, datasets, timeseries, is_deprecated, bias_and_fairness=None, build_status=None, user_provided_id=None, updated_at=None, updated_by=None, tags=None, mlpkg_file_contents=None)
Represents a champion model package.
- Parameters:
- idstr
The ID of the registered model version.
- registered_model_idstr
The ID of the parent registered model.
- registered_model_versionint
The version of the registered model.
- namestr
The name of the registered model version.
- model_idstr
The ID of the model.
- model_execution_typestr
The type of model package (version). dedicated (native DataRobot models) and custom_inference_model` (user added inference models) both execute on DataRobot prediction servers, while external does not.
- is_archivedbool
- Whether the model package (version) is permanently archived (cannot be used in deployment or
replacement).
- import_metaImportMeta
Information from when this model package (version) was first saved.
- source_metaSourceMeta
Meta information from where the model was generated.
- model_kindModelKind
Model attribute information.
- targetTarget
Target information for the registered model version.
- model_descriptionModelDescription
Model description information.
- datasetsDataset
Dataset information for the registered model version.
- timeseriesTimeseries
Time series information for the registered model version.
- bias_and_fairnessBiasAndFairness
Bias and fairness information for the registered model version.
- is_deprecatedbool
- Whether the model package (version) is deprecated (cannot be used in deployment or
replacement).
- build_statusstr or None
Model package (version) build status. One of complete, inProgress, failed.
- user_provided_idstr or None
User provided ID for the registered model version.
- updated_atstr or None
The time the registered model version was last updated.
- updated_byUserMetadata or None
The user who last updated the registered model version.
- tagsList[TagWithId] or None
The tags associated with the registered model version.
- mlpkg_file_contentsstr or None
The contents of the model package file.