public static class ModelProvenance.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ModelProvenance |
build() |
ModelProvenance.Builder |
copy(ModelProvenance model) |
ModelProvenance.Builder |
gitBranch(String gitBranch)
For model reproducibility purposes.
|
ModelProvenance.Builder |
gitCommit(String gitCommit)
For model reproducibility purposes.
|
ModelProvenance.Builder |
repositoryUrl(String repositoryUrl)
For model reproducibility purposes.
|
ModelProvenance.Builder |
scriptDir(String scriptDir)
For model reproducibility purposes.
|
ModelProvenance.Builder |
trainingId(String trainingId)
The OCID
of a training session(Job or NotebookSession) in which the model was trained.
|
ModelProvenance.Builder |
trainingScript(String trainingScript)
For model reproducibility purposes.
|
public ModelProvenance.Builder repositoryUrl(String repositoryUrl)
For model reproducibility purposes. URL of the git repository associated with model training.
repositoryUrl
- the value to setpublic ModelProvenance.Builder gitBranch(String gitBranch)
For model reproducibility purposes. Branch of the git repository associated with model training.
gitBranch
- the value to setpublic ModelProvenance.Builder gitCommit(String gitCommit)
For model reproducibility purposes. Commit ID of the git repository associated with model training.
gitCommit
- the value to setpublic ModelProvenance.Builder scriptDir(String scriptDir)
For model reproducibility purposes. Path to model artifacts.
scriptDir
- the value to setpublic ModelProvenance.Builder trainingScript(String trainingScript)
For model reproducibility purposes. Path to the python script or notebook in which the model was trained."
trainingScript
- the value to setpublic ModelProvenance.Builder trainingId(String trainingId)
The OCID of a training session(Job or NotebookSession) in which the model was trained. It is used for model reproducibility purposes.
trainingId
- the value to setpublic ModelProvenance build()
public ModelProvenance.Builder copy(ModelProvenance model)
Copyright © 2016–2024. All rights reserved.