Values.DescribeModelVersionResponseSourceRetrieves information about a specific machine learning model version.
type nonrec t = {modelName : ModelName.t option;The name of the machine learning model that this version belongs to.
*)modelArn : ModelArn.t option;The Amazon Resource Name (ARN) of the parent machine learning model that this version belong to.
*)modelVersion : ModelVersion.t option;The version of the machine learning model.
*)modelVersionArn : ModelVersionArn.t option;The Amazon Resource Name (ARN) of the model version.
*)status : ModelVersionStatus.t option;The current status of the model version.
*)sourceType : ModelVersionSourceType.t option;Indicates whether this model version was created by training or by importing.
*)datasetName : DatasetName.t option;The name of the dataset used to train the model version.
*)datasetArn : DatasetArn.t option;The Amazon Resource Name (ARN) of the dataset used to train the model version.
*)schema : InlineDataSchema.t option;The schema of the data used to train the model version.
*)labelsInputConfiguration : LabelsInputConfiguration.t option;trainingDataStartTime : Timestamp.t option;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 : Timestamp.t option;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 : Timestamp.t option;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 : Timestamp.t option;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 : IamRoleArn.t option;The Amazon Resource Name (ARN) of the role that was used to train the model version.
*)dataPreProcessingConfiguration : DataPreProcessingConfiguration.t option;trainingExecutionStartTime : Timestamp.t option;The time when the training of the version began.
*)trainingExecutionEndTime : Timestamp.t option;The time when the training of the version completed.
*)failedReason : BoundedLengthString.t option;The failure message if the training of the model version failed.
*)modelMetrics : ModelMetrics.t option;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 : Timestamp.t option;Indicates the last time the machine learning model version was updated.
*)createdAt : Timestamp.t option;Indicates the time and date at which the machine learning model version was created.
*)serverSideKmsKeyId : KmsKeyArn.t option;The identifier of the KMS key key used to encrypt model version data by Amazon Lookout for Equipment.
*)offCondition : OffCondition.t option;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 : ModelVersionArn.t option;If model version was imported, then this field is the arn of the source model version.
*)importJobStartTime : Timestamp.t option;The date and time when the import job began. This field appears if the model version was imported.
*)importJobEndTime : Timestamp.t option;The date and time when the import job completed. This field appears if the model version was imported.
*)importedDataSizeInBytes : DataSizeInBytes.t option;The size in bytes of the imported data. This field appears if the model version was imported.
*)priorModelMetrics : ModelMetrics.t option;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 : Integer.t option;Indicates the number of days of data used in the most recent scheduled retraining run.
*)autoPromotionResult : AutoPromotionResult.t option;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.
*)autoPromotionResultReason : AutoPromotionResultReason.t option;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 using MANUAL promote mode. The model will be promoted in MANAGED promote mode if the performance is better than the previous model.
*)modelDiagnosticsOutputConfiguration : ModelDiagnosticsOutputConfiguration.t
option;The Amazon S3 location where Amazon Lookout for Equipment saves the pointwise model diagnostics for the model version.
*)modelDiagnosticsResultsObject : S3Object.t option;The Amazon S3 output prefix for where Lookout for Equipment saves the pointwise model diagnostics for the model version.
*)modelQuality : ModelQuality.t option;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 is QUALITY_THRESHOLD_MET. If the model is unlabeled, the model quality can't be assessed and the value of ModelQuality is CANNOT_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.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val make :
?modelName:??? ->
?modelArn:??? ->
?modelVersion:??? ->
?modelVersionArn:??? ->
?status:??? ->
?sourceType:??? ->
?datasetName:??? ->
?datasetArn:??? ->
?schema:??? ->
?labelsInputConfiguration:??? ->
?trainingDataStartTime:??? ->
?trainingDataEndTime:??? ->
?evaluationDataStartTime:??? ->
?evaluationDataEndTime:??? ->
?roleArn:??? ->
?dataPreProcessingConfiguration:??? ->
?trainingExecutionStartTime:??? ->
?trainingExecutionEndTime:??? ->
?failedReason:??? ->
?modelMetrics:??? ->
?lastUpdatedTime:??? ->
?createdAt:??? ->
?serverSideKmsKeyId:??? ->
?offCondition:??? ->
?sourceModelVersionArn:??? ->
?importJobStartTime:??? ->
?importJobEndTime:??? ->
?importedDataSizeInBytes:??? ->
?priorModelMetrics:??? ->
?retrainingAvailableDataInDays:??? ->
?autoPromotionResult:??? ->
?autoPromotionResultReason:??? ->
?modelDiagnosticsOutputConfiguration:??? ->
?modelDiagnosticsResultsObject:??? ->
?modelQuality:??? ->
unit ->
tval error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Integer of Integer.t
| `Long of ModelVersion.t
| `String of ModelName.t
| `Structure of
(string
* [> `Enum of string
| `String of LabelGroupName.t
| `Structure of (string * [> `String of S3Bucket.t ]) list ])
list
| `Timestamp of Timestamp.t ])
list ]