Class DescribeModelVersionResponse
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<DescribeModelVersionResponse.Builder,
DescribeModelVersionResponse>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AutoPromotionResult
Indicates whether the model version was promoted to be the active version after retraining or if there was an error with or cancellation of the retraining.final String
Indicates whether the model version was promoted to be the active version after retraining or if there was an error with or cancellation of the retraining.final String
Indicates the reason for theAutoPromotionResult
.builder()
final Instant
Indicates the time and date at which the machine learning model version was created.Returns the value of the DataPreProcessingConfiguration property for this object.final String
The Amazon Resource Name (ARN) of the dataset used to train the model version.final String
The name of the dataset used to train the model version.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Instant
The date on which the data in the evaluation set began being gathered.final Instant
The date on which the data in the evaluation set began being gathered.final String
The failure message if the training of the model version failed.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) Used to retrieve the value of a field from any class that extendsSdkResponse
.final int
hashCode()
final Long
The size in bytes of the imported data.final Instant
The date and time when the import job completed.final Instant
The date and time when the import job began.final LabelsInputConfiguration
Returns the value of the LabelsInputConfiguration property for this object.final Instant
Indicates the last time the machine learning model version was updated.final String
modelArn()
The Amazon Resource Name (ARN) of the parent machine learning model that this version belong to.The Amazon S3 location where Amazon Lookout for Equipment saves the pointwise model diagnostics for the model version.final S3Object
The Amazon S3 output prefix for where Lookout for Equipment saves the pointwise model diagnostics for the model version.final String
Shows an aggregated summary, in JSON format, of the model's performance within the evaluation time range.final String
The name of the machine learning model that this version belongs to.final ModelQuality
Provides a quality assessment for a model that uses labels.final String
Provides a quality assessment for a model that uses labels.final Long
The version of the machine learning model.final String
The Amazon Resource Name (ARN) of the model version.final String
Indicates that the asset associated with this sensor has been shut off.final String
If the model version was retrained, this field shows a summary of the performance of the prior model on the new training range.final Integer
Indicates the number of days of data used in the most recent scheduled retraining run.final String
roleArn()
The Amazon Resource Name (ARN) of the role that was used to train the model version.final String
schema()
The schema of the data used to train the model version.static Class
<? extends DescribeModelVersionResponse.Builder> final String
The identifier of the KMS key key used to encrypt model version data by Amazon Lookout for Equipment.final String
If model version was imported, then this field is the arn of the source model version.final ModelVersionSourceType
Indicates whether this model version was created by training or by importing.final String
Indicates whether this model version was created by training or by importing.final ModelVersionStatus
status()
The current status of the model version.final String
The current status of the model version.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final Instant
The date on which the training data finished being gathered.final Instant
The date on which the training data began being gathered.final Instant
The time when the training of the version completed.final Instant
The time when the training of the version began.Methods inherited from class software.amazon.awssdk.services.lookoutequipment.model.LookoutEquipmentResponse
responseMetadata
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
modelName
The name of the machine learning model that this version belongs to.
- Returns:
- The name of the machine learning model that this version belongs to.
-
modelArn
The Amazon Resource Name (ARN) of the parent machine learning model that this version belong to.
- Returns:
- The Amazon Resource Name (ARN) of the parent machine learning model that this version belong to.
-
modelVersion
The version of the machine learning model.
- Returns:
- The version of the machine learning model.
-
modelVersionArn
The Amazon Resource Name (ARN) of the model version.
- Returns:
- The Amazon Resource Name (ARN) of the model version.
-
status
The current status of the model version.
If the service returns an enum value that is not available in the current SDK version,
status
will returnModelVersionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The current status of the model version.
- See Also:
-
statusAsString
The current status of the model version.
If the service returns an enum value that is not available in the current SDK version,
status
will returnModelVersionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The current status of the model version.
- See Also:
-
sourceType
Indicates whether this model version was created by training or by importing.
If the service returns an enum value that is not available in the current SDK version,
sourceType
will returnModelVersionSourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsourceTypeAsString()
.- Returns:
- Indicates whether this model version was created by training or by importing.
- See Also:
-
sourceTypeAsString
Indicates whether this model version was created by training or by importing.
If the service returns an enum value that is not available in the current SDK version,
sourceType
will returnModelVersionSourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsourceTypeAsString()
.- Returns:
- Indicates whether this model version was created by training or by importing.
- See Also:
-
datasetName
The name of the dataset used to train the model version.
- Returns:
- The name of the dataset used to train the model version.
-
datasetArn
The Amazon Resource Name (ARN) of the dataset used to train the model version.
- Returns:
- The Amazon Resource Name (ARN) of the dataset used to train the model version.
-
schema
The schema of the data used to train the model version.
- Returns:
- The schema of the data used to train the model version.
-
labelsInputConfiguration
Returns the value of the LabelsInputConfiguration property for this object.- Returns:
- The value of the LabelsInputConfiguration property for this object.
-
trainingDataStartTime
The date on which the training data began being gathered. If you imported the version, this is the date that the training data in the source version began being gathered.
- Returns:
- The date on which the training data began being gathered. If you imported the version, this is the date that the training data in the source version began being gathered.
-
trainingDataEndTime
The date on which the training data finished being gathered. If you imported the version, this is the date that the training data in the source version finished being gathered.
- Returns:
- The date on which the training data finished being gathered. If you imported the version, this is the date that the training data in the source version finished being gathered.
-
evaluationDataStartTime
The date on which the data in the evaluation set began being gathered. If you imported the version, this is the date that the evaluation set data in the source version began being gathered.
- Returns:
- The date on which the data in the evaluation set began being gathered. If you imported the version, this is the date that the evaluation set data in the source version began being gathered.
-
evaluationDataEndTime
The date on which the data in the evaluation set began being gathered. If you imported the version, this is the date that the evaluation set data in the source version finished being gathered.
- Returns:
- The date on which the data in the evaluation set began being gathered. If you imported the version, this is the date that the evaluation set data in the source version finished being gathered.
-
roleArn
The Amazon Resource Name (ARN) of the role that was used to train the model version.
- Returns:
- The Amazon Resource Name (ARN) of the role that was used to train the model version.
-
dataPreProcessingConfiguration
Returns the value of the DataPreProcessingConfiguration property for this object.- Returns:
- The value of the DataPreProcessingConfiguration property for this object.
-
trainingExecutionStartTime
The time when the training of the version began.
- Returns:
- The time when the training of the version began.
-
trainingExecutionEndTime
The time when the training of the version completed.
- Returns:
- The time when the training of the version completed.
-
failedReason
The failure message if the training of the model version failed.
- Returns:
- The failure message if the training of the model version failed.
-
modelMetrics
Shows an aggregated summary, in JSON format, of the model's performance within the evaluation time range. These metrics are created when evaluating the model.
- Returns:
- Shows an aggregated summary, in JSON format, of the model's performance within the evaluation time range. These metrics are created when evaluating the model.
-
lastUpdatedTime
Indicates the last time the machine learning model version was updated.
- Returns:
- Indicates the last time the machine learning model version was updated.
-
createdAt
Indicates the time and date at which the machine learning model version was created.
- Returns:
- Indicates the time and date at which the machine learning model version was created.
-
serverSideKmsKeyId
The identifier of the KMS key key used to encrypt model version data by Amazon Lookout for Equipment.
- Returns:
- The identifier of the KMS key key used to encrypt model version data by Amazon Lookout for Equipment.
-
offCondition
Indicates that the asset associated with this sensor has been shut off. As long as this condition is met, Lookout for Equipment will not use data from this asset for training, evaluation, or inference.
- Returns:
- Indicates that the asset associated with this sensor has been shut off. As long as this condition is met, Lookout for Equipment will not use data from this asset for training, evaluation, or inference.
-
sourceModelVersionArn
If model version was imported, then this field is the arn of the source model version.
- Returns:
- If model version was imported, then this field is the arn of the source model version.
-
importJobStartTime
The date and time when the import job began. This field appears if the model version was imported.
- Returns:
- The date and time when the import job began. This field appears if the model version was imported.
-
importJobEndTime
The date and time when the import job completed. This field appears if the model version was imported.
- Returns:
- The date and time when the import job completed. This field appears if the model version was imported.
-
importedDataSizeInBytes
The size in bytes of the imported data. This field appears if the model version was imported.
- Returns:
- The size in bytes of the imported data. This field appears if the model version was imported.
-
priorModelMetrics
If the model version was retrained, this field shows a summary of the performance of the prior model on the new training range. You can use the information in this JSON-formatted object to compare the new model version and the prior model version.
- Returns:
- If the model version was retrained, this field shows a summary of the performance of the prior model on the new training range. You can use the information in this JSON-formatted object to compare the new model version and the prior model version.
-
retrainingAvailableDataInDays
Indicates the number of days of data used in the most recent scheduled retraining run.
- Returns:
- Indicates the number of days of data used in the most recent scheduled retraining run.
-
autoPromotionResult
Indicates whether the model version was promoted to be the active version after retraining or if there was an error with or cancellation of the retraining.
If the service returns an enum value that is not available in the current SDK version,
autoPromotionResult
will returnAutoPromotionResult.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromautoPromotionResultAsString()
.- Returns:
- Indicates whether the model version was promoted to be the active version after retraining or if there was an error with or cancellation of the retraining.
- See Also:
-
autoPromotionResultAsString
Indicates whether the model version was promoted to be the active version after retraining or if there was an error with or cancellation of the retraining.
If the service returns an enum value that is not available in the current SDK version,
autoPromotionResult
will returnAutoPromotionResult.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromautoPromotionResultAsString()
.- Returns:
- Indicates whether the model version was promoted to be the active version after retraining or if there was an error with or cancellation of the retraining.
- See Also:
-
autoPromotionResultReason
Indicates the reason for the
AutoPromotionResult
. For example, a model might not be promoted if its performance was worse than the active version, if there was an error during training, or if the retraining scheduler was usingMANUAL
promote mode. The model will be promoted inMANAGED
promote mode if the performance is better than the previous model.- Returns:
- Indicates the reason for the
AutoPromotionResult
. For example, a model might not be promoted if its performance was worse than the active version, if there was an error during training, or if the retraining scheduler was usingMANUAL
promote mode. The model will be promoted inMANAGED
promote mode if the performance is better than the previous model.
-
modelDiagnosticsOutputConfiguration
The Amazon S3 location where Amazon Lookout for Equipment saves the pointwise model diagnostics for the model version.
- Returns:
- The Amazon S3 location where Amazon Lookout for Equipment saves the pointwise model diagnostics for the model version.
-
modelDiagnosticsResultsObject
The Amazon S3 output prefix for where Lookout for Equipment saves the pointwise model diagnostics for the model version.
- Returns:
- The Amazon S3 output prefix for where Lookout for Equipment saves the pointwise model diagnostics for the model version.
-
modelQuality
Provides a quality assessment for a model that uses labels. If Lookout for Equipment determines that the model quality is poor based on training metrics, the value is
POOR_QUALITY_DETECTED
. Otherwise, the value isQUALITY_THRESHOLD_MET
.If the model is unlabeled, the model quality can't be assessed and the value of
ModelQuality
isCANNOT_DETERMINE_QUALITY
. In this situation, you can get a model quality assessment by adding labels to the input dataset and retraining the model.For information about using labels with your models, see Understanding labeling.
For information about improving the quality of a model, see Best practices with Amazon Lookout for Equipment.
If the service returns an enum value that is not available in the current SDK version,
modelQuality
will returnModelQuality.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommodelQualityAsString()
.- Returns:
- Provides a quality assessment for a model that uses labels. If Lookout for Equipment determines that the
model quality is poor based on training metrics, the value is
POOR_QUALITY_DETECTED
. Otherwise, the value isQUALITY_THRESHOLD_MET
.If the model is unlabeled, the model quality can't be assessed and the value of
ModelQuality
isCANNOT_DETERMINE_QUALITY
. In this situation, you can get a model quality assessment by adding labels to the input dataset and retraining the model.For information about using labels with your models, see Understanding labeling.
For information about improving the quality of a model, see Best practices with Amazon Lookout for Equipment.
- See Also:
-
modelQualityAsString
Provides a quality assessment for a model that uses labels. If Lookout for Equipment determines that the model quality is poor based on training metrics, the value is
POOR_QUALITY_DETECTED
. Otherwise, the value isQUALITY_THRESHOLD_MET
.If the model is unlabeled, the model quality can't be assessed and the value of
ModelQuality
isCANNOT_DETERMINE_QUALITY
. In this situation, you can get a model quality assessment by adding labels to the input dataset and retraining the model.For information about using labels with your models, see Understanding labeling.
For information about improving the quality of a model, see Best practices with Amazon Lookout for Equipment.
If the service returns an enum value that is not available in the current SDK version,
modelQuality
will returnModelQuality.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommodelQualityAsString()
.- Returns:
- Provides a quality assessment for a model that uses labels. If Lookout for Equipment determines that the
model quality is poor based on training metrics, the value is
POOR_QUALITY_DETECTED
. Otherwise, the value isQUALITY_THRESHOLD_MET
.If the model is unlabeled, the model quality can't be assessed and the value of
ModelQuality
isCANNOT_DETERMINE_QUALITY
. In this situation, you can get a model quality assessment by adding labels to the input dataset and retraining the model.For information about using labels with your models, see Understanding labeling.
For information about improving the quality of a model, see Best practices with Amazon Lookout for Equipment.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<DescribeModelVersionResponse.Builder,
DescribeModelVersionResponse> - Specified by:
toBuilder
in classAwsResponse
- Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCode
in classAwsResponse
-
equals
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
Description copied from class:SdkResponse
Used to retrieve the value of a field from any class that extendsSdkResponse
. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, theSdkResponse.getValueForField(String, Class)
method will again be available.- Overrides:
getValueForField
in classSdkResponse
- Parameters:
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.- Returns:
- Optional containing the casted return value
-
sdkFields
-