CreateModelProvenanceDetails¶
-
class
oci.data_science.models.
CreateModelProvenanceDetails
(**kwargs)¶ Bases:
object
Model 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 CreateModelProvenanceDetails object with values from keyword arguments. Attributes
git_branch
Gets the git_branch of this CreateModelProvenanceDetails. git_commit
Gets the git_commit of this CreateModelProvenanceDetails. repository_url
Gets the repository_url of this CreateModelProvenanceDetails. script_dir
Gets the script_dir of this CreateModelProvenanceDetails. training_id
Gets the training_id of this CreateModelProvenanceDetails. training_script
Gets the training_script of this CreateModelProvenanceDetails. -
__init__
(**kwargs)¶ Initializes a new CreateModelProvenanceDetails 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 CreateModelProvenanceDetails.
- git_branch (str) – The value to assign to the git_branch property of this CreateModelProvenanceDetails.
- git_commit (str) – The value to assign to the git_commit property of this CreateModelProvenanceDetails.
- script_dir (str) – The value to assign to the script_dir property of this CreateModelProvenanceDetails.
- training_script (str) – The value to assign to the training_script property of this CreateModelProvenanceDetails.
- training_id (str) – The value to assign to the training_id property of this CreateModelProvenanceDetails.
-
git_branch
¶ Gets the git_branch of this CreateModelProvenanceDetails. For model reproducibility purposes. Branch of the git repository associated with model training.
Returns: The git_branch of this CreateModelProvenanceDetails. Return type: str
-
git_commit
¶ Gets the git_commit of this CreateModelProvenanceDetails. For model reproducibility purposes. Commit ID of the git repository associated with model training.
Returns: The git_commit of this CreateModelProvenanceDetails. Return type: str
-
repository_url
¶ Gets the repository_url of this CreateModelProvenanceDetails. For model reproducibility purposes. URL of the git repository associated with model training.
Returns: The repository_url of this CreateModelProvenanceDetails. Return type: str
-
script_dir
¶ Gets the script_dir of this CreateModelProvenanceDetails. For model reproducibility purposes. Path to model artifacts.
Returns: The script_dir of this CreateModelProvenanceDetails. Return type: str
-
training_id
¶ Gets the training_id of this CreateModelProvenanceDetails. 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 CreateModelProvenanceDetails. Return type: str
-
training_script
¶ Gets the training_script of this CreateModelProvenanceDetails. For model reproducibility purposes. Path to the python script or notebook in which the model was trained.”
Returns: The training_script of this CreateModelProvenanceDetails. Return type: str
-