Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Model.Builder |
aliasName(String aliasName)
the alias name of the model.
|
Model |
build() |
Model.Builder |
compartmentId(String compartmentId)
The compartment identifier.
|
Model.Builder |
componentModels(List<ComponentModel> componentModels)
The OCID
collection of active custom Key Value models that need to be composed.
|
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 |
isComposedModel(Boolean isComposedModel)
Set to true when the model is created by using multiple key value extraction models.
|
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 |
labels(List<String> labels)
The collection of labels used to train the custom model.
|
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 |
locks(List<ResourceLock> locks)
Locks associated with this resource.
|
Model.Builder |
maxTrainingTimeInHours(Double maxTrainingTimeInHours)
The maximum model training time in hours, expressed as a decimal fraction.
|
Model.Builder |
metrics(ModelMetrics metrics) |
Model.Builder |
modelType(Model.ModelType modelType)
The type of the Document model.
|
Model.Builder |
modelVersion(String modelVersion)
The version of the model.
|
Model.Builder |
projectId(String projectId)
The OCID
of the project that contains the model.
|
Model.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
Model.Builder |
tenancyId(String tenancyId)
The tenancy id of the model.
|
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 |
trainedTimeInHours(Double trainedTimeInHours)
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)
The type of the Document model.
modelType
- the value to setpublic Model.Builder tenancyId(String tenancyId)
The tenancy id of the model.
tenancyId
- the value to setpublic Model.Builder aliasName(String aliasName)
the alias name of the model.
aliasName
- the value to setpublic Model.Builder labels(List<String> labels)
The collection of labels used to train the custom model.
labels
- 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 maxTrainingTimeInHours(Double maxTrainingTimeInHours)
The maximum model training time in hours, expressed as a decimal fraction.
maxTrainingTimeInHours
- the value to setpublic Model.Builder trainedTimeInHours(Double trainedTimeInHours)
The total hours actually used for model training.
trainedTimeInHours
- the value to setpublic Model.Builder trainingDataset(Dataset trainingDataset)
public Model.Builder testingDataset(Dataset testingDataset)
public Model.Builder validationDataset(Dataset validationDataset)
public Model.Builder componentModels(List<ComponentModel> componentModels)
The OCID collection of active custom Key Value models that need to be composed.
componentModels
- the value to setpublic Model.Builder isComposedModel(Boolean isComposedModel)
Set to true when the model is created by using multiple key value extraction models.
isComposedModel
- the value to setpublic 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 metrics(ModelMetrics metrics)
public 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.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic Model build()
public Model.Builder copy(Model model)
Copyright © 2016–2024. All rights reserved.