Class ModelProvenance
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.datascience.model.ModelProvenance
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20190101") public final class ModelProvenance extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelModel 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. 
 Note: Objects should always be created or deserialized using theModelProvenance.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theModelProvenance.Builder, which maintain a set of all explicitly set fields calledModelProvenance.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classModelProvenance.Builder
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelProvenance.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetGitBranch()For model reproducibility purposes.StringgetGitCommit()For model reproducibility purposes.StringgetRepositoryUrl()For model reproducibility purposes.StringgetScriptDir()For model reproducibility purposes.StringgetTrainingId()The OCID of a training session(Job or NotebookSession) in which the model was trained.StringgetTrainingScript()For model reproducibility purposes.inthashCode()ModelProvenance.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
ModelProvenance@Deprecated @ConstructorProperties({"repositoryUrl","gitBranch","gitCommit","scriptDir","trainingScript","trainingId"}) public ModelProvenance(String repositoryUrl, String gitBranch, String gitCommit, String scriptDir, String trainingScript, String trainingId) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static ModelProvenance.Builder builder() Create a new builder.
 - 
toBuilderpublic ModelProvenance.Builder toBuilder() 
 - 
getRepositoryUrlpublic String getRepositoryUrl() For model reproducibility purposes.URL of the git repository associated with model training. - Returns:
- the value
 
 - 
getGitBranchpublic String getGitBranch() For model reproducibility purposes.Branch of the git repository associated with model training. - Returns:
- the value
 
 - 
getGitCommitpublic String getGitCommit() For model reproducibility purposes.Commit ID of the git repository associated with model training. - Returns:
- the value
 
 - 
getScriptDirpublic String getScriptDir() For model reproducibility purposes.Path to model artifacts. - Returns:
- the value
 
 - 
getTrainingScriptpublic String getTrainingScript() For model reproducibility purposes.Path to the python script or notebook in which the model was trained." - Returns:
- the value
 
 - 
getTrainingIdpublic String getTrainingId() The OCID of a training session(Job or NotebookSession) in which the model was trained.It is used for model reproducibility purposes. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-