Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Model.Builder |
averagePrecision(Float averagePrecision)
The mean average precision of the trained model.
|
Model |
build() |
Model.Builder |
compartmentId(String compartmentId)
The compartment identifier.
|
Model.Builder |
confidenceThreshold(Float confidenceThreshold)
The intersection over the union threshold used for calculating precision and recall.
|
Model.Builder |
copy(Model model) |
Model.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Model.Builder |
description(String description)
An optional description of the model.
|
Model.Builder |
displayName(String displayName)
A human-friendly name for the model, which can be changed.
|
Model.Builder |
freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.
|
Model.Builder |
id(String id)
A unique identifier that is immutable after creation.
|
Model.Builder |
isQuickMode(Boolean isQuickMode)
Set to true when experimenting with a new model type or dataset, so model training is
quick, with a predefined low number of passes through the training data.
|
Model.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail, that can provide actionable
information if training failed.
|
Model.Builder |
lifecycleState(Model.LifecycleState lifecycleState)
The current state of the model.
|
Model.Builder |
maxTrainingDurationInHours(Double maxTrainingDurationInHours)
The maximum model training duration in hours, expressed as a decimal fraction.
|
Model.Builder |
metrics(String metrics)
The complete set of per-label metrics for successfully trained models.
|
Model.Builder |
modelType(Model.ModelType modelType)
What type of Vision model this is.
|
Model.Builder |
modelVersion(String modelVersion)
The version of the model.
|
Model.Builder |
precision(Float precision)
The precision of the trained model.
|
Model.Builder |
projectId(String projectId)
The OCID
of the project that contains the model.
|
Model.Builder |
recall(Float recall)
Recall of the trained model.
|
Model.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
Model.Builder |
testImageCount(Integer testImageCount)
The number of images set aside for evaluating model performance metrics after training.
|
Model.Builder |
testingDataset(Dataset testingDataset) |
Model.Builder |
timeCreated(Date timeCreated)
When the model was created, as an RFC3339 datetime string.
|
Model.Builder |
timeUpdated(Date timeUpdated)
When the model was updated, as an RFC3339 datetime string.
|
Model.Builder |
totalImageCount(Integer totalImageCount)
The number of images in the dataset used to train, validate, and test the model.
|
Model.Builder |
trainedDurationInHours(Double trainedDurationInHours)
The total hours actually used for model training.
|
Model.Builder |
trainingDataset(Dataset trainingDataset) |
Model.Builder |
validationDataset(Dataset validationDataset) |
public Model.Builder id(String id)
A unique identifier that is immutable after creation.
id
- the value to setpublic Model.Builder displayName(String displayName)
A human-friendly name for the model, which can be changed.
displayName
- the value to setpublic Model.Builder description(String description)
An optional description of the model.
description
- the value to setpublic Model.Builder compartmentId(String compartmentId)
The compartment identifier.
compartmentId
- the value to setpublic Model.Builder modelType(Model.ModelType modelType)
What type of Vision model this is.
modelType
- the value to setpublic Model.Builder isQuickMode(Boolean isQuickMode)
Set to true when experimenting with a new model type or dataset, so model training is quick, with a predefined low number of passes through the training data.
isQuickMode
- the value to setpublic Model.Builder maxTrainingDurationInHours(Double maxTrainingDurationInHours)
The maximum model training duration in hours, expressed as a decimal fraction.
maxTrainingDurationInHours
- the value to setpublic Model.Builder trainedDurationInHours(Double trainedDurationInHours)
The total hours actually used for model training.
trainedDurationInHours
- the value to setpublic Model.Builder trainingDataset(Dataset trainingDataset)
public Model.Builder testingDataset(Dataset testingDataset)
public Model.Builder validationDataset(Dataset validationDataset)
public Model.Builder modelVersion(String modelVersion)
The version of the model.
modelVersion
- the value to setpublic Model.Builder projectId(String projectId)
The OCID of the project that contains the model.
projectId
- the value to setpublic Model.Builder timeCreated(Date timeCreated)
When the model was created, as an RFC3339 datetime string.
timeCreated
- the value to setpublic Model.Builder timeUpdated(Date timeUpdated)
When the model was updated, as an RFC3339 datetime string.
timeUpdated
- the value to setpublic Model.Builder lifecycleState(Model.LifecycleState lifecycleState)
The current state of the model.
lifecycleState
- the value to setpublic Model.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail, that can provide actionable information if training failed.
lifecycleDetails
- the value to setpublic Model.Builder precision(Float precision)
The precision of the trained model.
precision
- the value to setpublic Model.Builder recall(Float recall)
Recall of the trained model.
recall
- the value to setpublic Model.Builder averagePrecision(Float averagePrecision)
The mean average precision of the trained model.
averagePrecision
- the value to setpublic Model.Builder confidenceThreshold(Float confidenceThreshold)
The intersection over the union threshold used for calculating precision and recall.
confidenceThreshold
- the value to setpublic Model.Builder totalImageCount(Integer totalImageCount)
The number of images in the dataset used to train, validate, and test the model.
totalImageCount
- the value to setpublic Model.Builder testImageCount(Integer testImageCount)
The number of images set aside for evaluating model performance metrics after training.
testImageCount
- the value to setpublic Model.Builder metrics(String metrics)
The complete set of per-label metrics for successfully trained models.
metrics
- the value to setpublic Model.Builder freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope. It
exists for cross-compatibility only. For example: {"bar-key": "value"}
freeformTags
- the value to setpublic Model.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For
example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic Model.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. For example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic Model build()
public Model.Builder copy(Model model)
Copyright © 2016–2024. All rights reserved.