UpdateModelProvenanceDetails¶
-
class
oci.data_science.models.UpdateModelProvenanceDetails(**kwargs)¶ Bases:
objectModel provenance gives data scientists information about the origin of their model. This information allows data scientists to reproduce the development environment in which the model was trained.
Methods
__init__(**kwargs)Initializes a new UpdateModelProvenanceDetails object with values from keyword arguments. Attributes
git_branchGets the git_branch of this UpdateModelProvenanceDetails. git_commitGets the git_commit of this UpdateModelProvenanceDetails. repository_urlGets the repository_url of this UpdateModelProvenanceDetails. script_dirGets the script_dir of this UpdateModelProvenanceDetails. training_idGets the training_id of this UpdateModelProvenanceDetails. training_scriptGets the training_script of this UpdateModelProvenanceDetails. -
__init__(**kwargs)¶ Initializes a new UpdateModelProvenanceDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - repository_url (str) – The value to assign to the repository_url property of this UpdateModelProvenanceDetails.
- git_branch (str) – The value to assign to the git_branch property of this UpdateModelProvenanceDetails.
- git_commit (str) – The value to assign to the git_commit property of this UpdateModelProvenanceDetails.
- script_dir (str) – The value to assign to the script_dir property of this UpdateModelProvenanceDetails.
- training_script (str) – The value to assign to the training_script property of this UpdateModelProvenanceDetails.
- training_id (str) – The value to assign to the training_id property of this UpdateModelProvenanceDetails.
-
git_branch¶ Gets the git_branch of this UpdateModelProvenanceDetails. For model reproducibility purposes. Branch of the git repository associated with model training.
Returns: The git_branch of this UpdateModelProvenanceDetails. Return type: str
-
git_commit¶ Gets the git_commit of this UpdateModelProvenanceDetails. For model reproducibility purposes. Commit ID of the git repository associated with model training.
Returns: The git_commit of this UpdateModelProvenanceDetails. Return type: str
-
repository_url¶ Gets the repository_url of this UpdateModelProvenanceDetails. For model reproducibility purposes. URL of the git repository associated with model training.
Returns: The repository_url of this UpdateModelProvenanceDetails. Return type: str
-
script_dir¶ Gets the script_dir of this UpdateModelProvenanceDetails. For model reproducibility purposes. Path to model artifacts.
Returns: The script_dir of this UpdateModelProvenanceDetails. Return type: str
-
training_id¶ Gets the training_id of this UpdateModelProvenanceDetails. The OCID of a training session(Job or NotebookSession) in which the model was trained. It is used for model reproducibility purposes.
Returns: The training_id of this UpdateModelProvenanceDetails. Return type: str
-
training_script¶ Gets the training_script of this UpdateModelProvenanceDetails. For model reproducibility purposes. Path to the python script or notebook in which the model was trained.”
Returns: The training_script of this UpdateModelProvenanceDetails. Return type: str
-