@aws-sdk/client-sagemaker 3.233.0 → 3.235.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/SageMaker.js +30 -0
- package/dist-cjs/commands/DescribeAlgorithmCommand.js +3 -3
- package/dist-cjs/commands/DescribeAppCommand.js +1 -2
- package/dist-cjs/commands/ListAliasesCommand.js +46 -0
- package/dist-cjs/commands/ListAssociationsCommand.js +2 -1
- package/dist-cjs/commands/ListAutoMLJobsCommand.js +3 -3
- package/dist-cjs/commands/ListCandidatesForAutoMLJobCommand.js +3 -3
- package/dist-cjs/commands/UpdateFeatureGroupCommand.js +2 -1
- package/dist-cjs/commands/UpdateFeatureMetadataCommand.js +2 -2
- package/dist-cjs/commands/UpdateHubCommand.js +3 -3
- package/dist-cjs/commands/UpdateImageCommand.js +1 -2
- package/dist-cjs/commands/UpdateImageVersionCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoint/ruleset.js +4 -375
- package/dist-cjs/models/models_0.js +8 -0
- package/dist-cjs/models/models_1.js +25 -19
- package/dist-cjs/models/models_2.js +25 -25
- package/dist-cjs/models/models_3.js +26 -26
- package/dist-cjs/models/models_4.js +29 -1
- package/dist-cjs/pagination/ListAliasesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +177 -9
- package/dist-es/SageMaker.js +30 -0
- package/dist-es/commands/DescribeAlgorithmCommand.js +1 -1
- package/dist-es/commands/DescribeAppCommand.js +1 -2
- package/dist-es/commands/ListAliasesCommand.js +42 -0
- package/dist-es/commands/ListAssociationsCommand.js +2 -1
- package/dist-es/commands/ListAutoMLJobsCommand.js +1 -1
- package/dist-es/commands/ListCandidatesForAutoMLJobCommand.js +1 -1
- package/dist-es/commands/UpdateFeatureGroupCommand.js +2 -1
- package/dist-es/commands/UpdateFeatureMetadataCommand.js +1 -1
- package/dist-es/commands/UpdateHubCommand.js +1 -1
- package/dist-es/commands/UpdateImageCommand.js +1 -2
- package/dist-es/commands/UpdateImageVersionCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/ruleset.js +4 -375
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/models/models_1.js +18 -9
- package/dist-es/models/models_2.js +15 -15
- package/dist-es/models/models_3.js +15 -15
- package/dist-es/models/models_4.js +21 -0
- package/dist-es/pagination/ListAliasesPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +164 -0
- package/dist-types/SageMaker.d.ts +19 -1
- package/dist-types/SageMakerClient.d.ts +4 -2
- package/dist-types/commands/CreateExperimentCommand.d.ts +5 -1
- package/dist-types/commands/DescribeAlgorithmCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAppCommand.d.ts +1 -2
- package/dist-types/commands/ListAliasesCommand.d.ts +37 -0
- package/dist-types/commands/ListAssociationsCommand.d.ts +2 -1
- package/dist-types/commands/ListAutoMLJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListCandidatesForAutoMLJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFeatureGroupCommand.d.ts +2 -1
- package/dist-types/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
- package/dist-types/commands/UpdateHubCommand.d.ts +1 -1
- package/dist-types/commands/UpdateImageCommand.d.ts +1 -2
- package/dist-types/commands/UpdateImageVersionCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +153 -61
- package/dist-types/models/models_1.d.ts +102 -97
- package/dist-types/models/models_2.d.ts +215 -136
- package/dist-types/models/models_3.d.ts +129 -97
- package/dist-types/models/models_4.d.ts +204 -3
- package/dist-types/pagination/ListAliasesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/SageMaker.d.ts +34 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DescribeAlgorithmCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeAppCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListAutoMLJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCandidatesForAutoMLJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFeatureGroupCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateHubCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateImageCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/UpdateImageVersionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/dist-types/ts3.4/models/models_1.d.ts +25 -37
- package/dist-types/ts3.4/models/models_2.d.ts +64 -54
- package/dist-types/ts3.4/models/models_3.d.ts +56 -42
- package/dist-types/ts3.4/models/models_4.d.ts +74 -1
- package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +8 -8
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { UpdateImageVersionRequest, UpdateImageVersionResponse } from "../models/models_4";
|
|
5
|
+
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
|
+
export interface UpdateImageVersionCommandInput extends UpdateImageVersionRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface UpdateImageVersionCommandOutput extends UpdateImageVersionResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Updates the properties of a SageMaker image version.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { SageMakerClient, UpdateImageVersionCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
16
|
+
* // const { SageMakerClient, UpdateImageVersionCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
17
|
+
* const client = new SageMakerClient(config);
|
|
18
|
+
* const command = new UpdateImageVersionCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link UpdateImageVersionCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link UpdateImageVersionCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class UpdateImageVersionCommand extends $Command<UpdateImageVersionCommandInput, UpdateImageVersionCommandOutput, SageMakerClientResolvedConfig> {
|
|
28
|
+
readonly input: UpdateImageVersionCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UpdateImageVersionCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateImageVersionCommandInput, UpdateImageVersionCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -169,6 +169,7 @@ export * from "./GetSearchSuggestionsCommand";
|
|
|
169
169
|
export * from "./ImportHubContentCommand";
|
|
170
170
|
export * from "./ListActionsCommand";
|
|
171
171
|
export * from "./ListAlgorithmsCommand";
|
|
172
|
+
export * from "./ListAliasesCommand";
|
|
172
173
|
export * from "./ListAppImageConfigsCommand";
|
|
173
174
|
export * from "./ListAppsCommand";
|
|
174
175
|
export * from "./ListArtifactsCommand";
|
|
@@ -279,6 +280,7 @@ export * from "./UpdateFeatureGroupCommand";
|
|
|
279
280
|
export * from "./UpdateFeatureMetadataCommand";
|
|
280
281
|
export * from "./UpdateHubCommand";
|
|
281
282
|
export * from "./UpdateImageCommand";
|
|
283
|
+
export * from "./UpdateImageVersionCommand";
|
|
282
284
|
export * from "./UpdateInferenceExperimentCommand";
|
|
283
285
|
export * from "./UpdateModelCardCommand";
|
|
284
286
|
export * from "./UpdateModelPackageCommand";
|
|
@@ -3634,9 +3634,17 @@ export interface CandidateArtifactLocations {
|
|
|
3634
3634
|
export declare enum AutoMLMetricEnum {
|
|
3635
3635
|
ACCURACY = "Accuracy",
|
|
3636
3636
|
AUC = "AUC",
|
|
3637
|
+
BALANCED_ACCURACY = "BalancedAccuracy",
|
|
3637
3638
|
F1 = "F1",
|
|
3638
3639
|
F1_MACRO = "F1macro",
|
|
3639
|
-
|
|
3640
|
+
MAE = "MAE",
|
|
3641
|
+
MSE = "MSE",
|
|
3642
|
+
PRECISION = "Precision",
|
|
3643
|
+
PRECISION_MACRO = "PrecisionMacro",
|
|
3644
|
+
R2 = "R2",
|
|
3645
|
+
RECALL = "Recall",
|
|
3646
|
+
RECALL_MACRO = "RecallMacro",
|
|
3647
|
+
RMSE = "RMSE"
|
|
3640
3648
|
}
|
|
3641
3649
|
export declare enum MetricSetSource {
|
|
3642
3650
|
TEST = "Test",
|
|
@@ -4089,67 +4097,151 @@ export interface AutoMLJobObjective {
|
|
|
4089
4097
|
* learning system. This metric is optimized during training to provide the best estimate for
|
|
4090
4098
|
* model parameter values from data.</p>
|
|
4091
4099
|
* <p>Here are the options:</p>
|
|
4092
|
-
* <
|
|
4093
|
-
* <
|
|
4094
|
-
*
|
|
4095
|
-
*
|
|
4096
|
-
*
|
|
4097
|
-
*
|
|
4098
|
-
*
|
|
4099
|
-
*
|
|
4100
|
-
*
|
|
4101
|
-
*
|
|
4102
|
-
*
|
|
4103
|
-
*
|
|
4104
|
-
*
|
|
4105
|
-
*
|
|
4106
|
-
*
|
|
4107
|
-
*
|
|
4108
|
-
*
|
|
4109
|
-
*
|
|
4110
|
-
*
|
|
4111
|
-
*
|
|
4112
|
-
*
|
|
4113
|
-
*
|
|
4114
|
-
*
|
|
4115
|
-
*
|
|
4116
|
-
*
|
|
4117
|
-
*
|
|
4118
|
-
*
|
|
4119
|
-
*
|
|
4120
|
-
*
|
|
4121
|
-
* scores vary between zero and one: one indicates the best possible performance and
|
|
4122
|
-
* zero the worst.</p>
|
|
4123
|
-
* </li>
|
|
4124
|
-
* <li>
|
|
4125
|
-
* <p>
|
|
4126
|
-
* <code>AUC</code>: The area under the curve (AUC) metric is used to compare and
|
|
4127
|
-
* evaluate binary classification by algorithms such as logistic regression that return
|
|
4128
|
-
* probabilities. A threshold is needed to map the probabilities into classifications.
|
|
4129
|
-
* The relevant curve is the receiver operating characteristic curve that plots the true
|
|
4130
|
-
* positive rate (TPR) of predictions (or recall) against the false positive rate (FPR)
|
|
4131
|
-
* as a function of the threshold value, above which a prediction is considered
|
|
4132
|
-
* positive. Increasing the threshold results in fewer false positives but more false
|
|
4133
|
-
* negatives. AUC is the area under this receiver operating characteristic curve and so
|
|
4134
|
-
* provides an aggregated measure of the model performance across all possible
|
|
4135
|
-
* classification thresholds. The AUC score can also be interpreted as the probability
|
|
4136
|
-
* that a randomly selected positive data point is more likely to be predicted positive
|
|
4137
|
-
* than a randomly selected negative example. AUC scores vary between zero and one: a
|
|
4138
|
-
* score of one indicates perfect accuracy and a score of one half indicates that the
|
|
4139
|
-
* prediction is not better than a random classifier. Values under one half predict less
|
|
4140
|
-
* accurately than a random predictor. But such consistently bad predictors can simply
|
|
4141
|
-
* be inverted to obtain better than random predictors.</p>
|
|
4142
|
-
* </li>
|
|
4143
|
-
* <li>
|
|
4100
|
+
* <dl>
|
|
4101
|
+
* <dt>Accuracy</dt>
|
|
4102
|
+
* <dd>
|
|
4103
|
+
* <p> The ratio of the number of correctly classified items to the total number of
|
|
4104
|
+
* (correctly and incorrectly) classified items. It is used for both binary and
|
|
4105
|
+
* multiclass classification. Accuracy measures how close the predicted class values
|
|
4106
|
+
* are to the actual values. Values for accuracy metrics vary between zero (0) and
|
|
4107
|
+
* one (1). A value of 1 indicates perfect accuracy, and 0 indicates perfect
|
|
4108
|
+
* inaccuracy.</p>
|
|
4109
|
+
* </dd>
|
|
4110
|
+
* <dt>AUC</dt>
|
|
4111
|
+
* <dd>
|
|
4112
|
+
* <p>The area under the curve (AUC) metric is used to compare and evaluate binary
|
|
4113
|
+
* classification by algorithms that return probabilities, such as logistic
|
|
4114
|
+
* regression. To map the probabilities into classifications, these are compared
|
|
4115
|
+
* against a threshold value. </p>
|
|
4116
|
+
* <p>The relevant curve is the receiver operating characteristic curve (ROC curve).
|
|
4117
|
+
* The ROC curve plots the true positive rate (TPR) of predictions (or recall)
|
|
4118
|
+
* against the false positive rate (FPR) as a function of the threshold value, above
|
|
4119
|
+
* which a prediction is considered positive. Increasing the threshold results in
|
|
4120
|
+
* fewer false positives, but more false negatives. </p>
|
|
4121
|
+
* <p>AUC is the area under this ROC curve. Therefore, AUC provides an aggregated
|
|
4122
|
+
* measure of the model performance across all possible classification thresholds.
|
|
4123
|
+
* AUC scores vary between 0 and 1. A score of 1 indicates perfect accuracy, and a
|
|
4124
|
+
* score of one half (0.5) indicates that the prediction is not better than a random
|
|
4125
|
+
* classifier. </p>
|
|
4126
|
+
* </dd>
|
|
4127
|
+
* <dt>BalancedAccuracy</dt>
|
|
4128
|
+
* <dd>
|
|
4144
4129
|
* <p>
|
|
4145
|
-
* <code>
|
|
4146
|
-
*
|
|
4147
|
-
*
|
|
4148
|
-
*
|
|
4149
|
-
*
|
|
4150
|
-
*
|
|
4151
|
-
*
|
|
4152
|
-
*
|
|
4130
|
+
* <code>BalancedAccuracy</code> is a metric that measures the ratio of accurate
|
|
4131
|
+
* predictions to all predictions. This ratio is calculated after normalizing true
|
|
4132
|
+
* positives (TP) and true negatives (TN) by the total number of positive (P) and
|
|
4133
|
+
* negative (N) values. It is used in both binary and multiclass classification and
|
|
4134
|
+
* is defined as follows: 0.5*((TP/P)+(TN/N)), with values ranging from 0 to 1.
|
|
4135
|
+
* <code>BalancedAccuracy</code> gives a better measure of accuracy when the
|
|
4136
|
+
* number of positives or negatives differ greatly from each other in an imbalanced
|
|
4137
|
+
* dataset. For example, when only 1% of email is spam. </p>
|
|
4138
|
+
* </dd>
|
|
4139
|
+
* <dt>F1</dt>
|
|
4140
|
+
* <dd>
|
|
4141
|
+
* <p>The <code>F1</code> score is the harmonic mean of the precision and recall,
|
|
4142
|
+
* defined as follows: F1 = 2 * (precision * recall) / (precision + recall). It is
|
|
4143
|
+
* used for binary classification into classes traditionally referred to as positive
|
|
4144
|
+
* and negative. Predictions are said to be true when they match their actual
|
|
4145
|
+
* (correct) class, and false when they do not. </p>
|
|
4146
|
+
* <p>Precision is the ratio of the true positive predictions to all positive
|
|
4147
|
+
* predictions, and it includes the false positives in a dataset. Precision measures
|
|
4148
|
+
* the quality of the prediction when it predicts the positive class. </p>
|
|
4149
|
+
* <p>Recall (or sensitivity) is the ratio of the true positive predictions to all
|
|
4150
|
+
* actual positive instances. Recall measures how completely a model predicts the
|
|
4151
|
+
* actual class members in a dataset. </p>
|
|
4152
|
+
* <p>F1 scores vary between 0 and 1. A score of 1 indicates the best possible
|
|
4153
|
+
* performance, and 0 indicates the worst.</p>
|
|
4154
|
+
* </dd>
|
|
4155
|
+
* <dt>F1macro</dt>
|
|
4156
|
+
* <dd>
|
|
4157
|
+
* <p>The <code>F1macro</code> score applies F1 scoring to multiclass classification
|
|
4158
|
+
* problems. It does this by calculating the precision and recall, and then taking
|
|
4159
|
+
* their harmonic mean to calculate the F1 score for each class. Lastly, the F1macro
|
|
4160
|
+
* averages the individual scores to obtain the <code>F1macro</code> score.
|
|
4161
|
+
* <code>F1macro</code> scores vary between 0 and 1. A score of 1 indicates the
|
|
4162
|
+
* best possible performance, and 0 indicates the worst.</p>
|
|
4163
|
+
* </dd>
|
|
4164
|
+
* <dt>MAE</dt>
|
|
4165
|
+
* <dd>
|
|
4166
|
+
* <p>The mean absolute error (MAE) is a measure of how different the predicted and
|
|
4167
|
+
* actual values are, when they're averaged over all values. MAE is commonly used in
|
|
4168
|
+
* regression analysis to understand model prediction error. If there is linear
|
|
4169
|
+
* regression, MAE represents the average distance from a predicted line to the
|
|
4170
|
+
* actual value. MAE is defined as the sum of absolute errors divided by the number
|
|
4171
|
+
* of observations. Values range from 0 to infinity, with smaller numbers indicating
|
|
4172
|
+
* a better model fit to the data.</p>
|
|
4173
|
+
* </dd>
|
|
4174
|
+
* <dt>MSE</dt>
|
|
4175
|
+
* <dd>
|
|
4176
|
+
* <p>The mean squared error (MSE) is the average of the squared differences between
|
|
4177
|
+
* the predicted and actual values. It is used for regression. MSE values are always
|
|
4178
|
+
* positive. The better a model is at predicting the actual values, the smaller the
|
|
4179
|
+
* MSE value is</p>
|
|
4180
|
+
* </dd>
|
|
4181
|
+
* <dt>Precision</dt>
|
|
4182
|
+
* <dd>
|
|
4183
|
+
* <p>Precision measures how well an algorithm predicts the true positives (TP) out
|
|
4184
|
+
* of all of the positives that it identifies. It is defined as follows: Precision =
|
|
4185
|
+
* TP/(TP+FP), with values ranging from zero (0) to one (1), and is used in binary
|
|
4186
|
+
* classification. Precision is an important metric when the cost of a false positive
|
|
4187
|
+
* is high. For example, the cost of a false positive is very high if an airplane
|
|
4188
|
+
* safety system is falsely deemed safe to fly. A false positive (FP) reflects a
|
|
4189
|
+
* positive prediction that is actually negative in the data.</p>
|
|
4190
|
+
* </dd>
|
|
4191
|
+
* <dt>PrecisionMacro</dt>
|
|
4192
|
+
* <dd>
|
|
4193
|
+
* <p>The precision macro computes precision for multiclass classification problems.
|
|
4194
|
+
* It does this by calculating precision for each class and averaging scores to
|
|
4195
|
+
* obtain precision for several classes. <code>PrecisionMacro</code> scores range
|
|
4196
|
+
* from zero (0) to one (1). Higher scores reflect the model's ability to predict
|
|
4197
|
+
* true positives (TP) out of all of the positives that it identifies, averaged
|
|
4198
|
+
* across multiple classes.</p>
|
|
4199
|
+
* </dd>
|
|
4200
|
+
* <dt>R2</dt>
|
|
4201
|
+
* <dd>
|
|
4202
|
+
* <p>R2, also known as the coefficient of determination, is used in regression to
|
|
4203
|
+
* quantify how much a model can explain the variance of a dependent variable. Values
|
|
4204
|
+
* range from one (1) to negative one (-1). Higher numbers indicate a higher fraction
|
|
4205
|
+
* of explained variability. <code>R2</code> values close to zero (0) indicate that
|
|
4206
|
+
* very little of the dependent variable can be explained by the model. Negative
|
|
4207
|
+
* values indicate a poor fit and that the model is outperformed by a constant
|
|
4208
|
+
* function. For linear regression, this is a horizontal line.</p>
|
|
4209
|
+
* </dd>
|
|
4210
|
+
* <dt>Recall</dt>
|
|
4211
|
+
* <dd>
|
|
4212
|
+
* <p>Recall measures how well an algorithm correctly predicts all of the true
|
|
4213
|
+
* positives (TP) in a dataset. A true positive is a positive prediction that is also
|
|
4214
|
+
* an actual positive value in the data. Recall is defined as follows: Recall =
|
|
4215
|
+
* TP/(TP+FN), with values ranging from 0 to 1. Higher scores reflect a better
|
|
4216
|
+
* ability of the model to predict true positives (TP) in the data, and is used in
|
|
4217
|
+
* binary classification. </p>
|
|
4218
|
+
* <p>Recall is important when testing for cancer because it's used to find all of
|
|
4219
|
+
* the true positives. A false positive (FP) reflects a positive prediction that is
|
|
4220
|
+
* actually negative in the data. It is often insufficient to measure only recall,
|
|
4221
|
+
* because predicting every output as a true positive will yield a perfect recall
|
|
4222
|
+
* score.</p>
|
|
4223
|
+
* </dd>
|
|
4224
|
+
* <dt>RecallMacro</dt>
|
|
4225
|
+
* <dd>
|
|
4226
|
+
* <p>The RecallMacro computes recall for multiclass classification problems by
|
|
4227
|
+
* calculating recall for each class and averaging scores to obtain recall for
|
|
4228
|
+
* several classes. RecallMacro scores range from 0 to 1. Higher scores reflect the
|
|
4229
|
+
* model's ability to predict true positives (TP) in a dataset. Whereas, a true
|
|
4230
|
+
* positive reflects a positive prediction that is also an actual positive value in
|
|
4231
|
+
* the data. It is often insufficient to measure only recall, because predicting
|
|
4232
|
+
* every output as a true positive will yield a perfect recall score.</p>
|
|
4233
|
+
* </dd>
|
|
4234
|
+
* <dt>RMSE</dt>
|
|
4235
|
+
* <dd>
|
|
4236
|
+
* <p>Root mean squared error (RMSE) measures the square root of the squared
|
|
4237
|
+
* difference between predicted and actual values, and it's averaged over all values.
|
|
4238
|
+
* It is used in regression analysis to understand model prediction error. It's an
|
|
4239
|
+
* important metric to indicate the presence of large model errors and outliers.
|
|
4240
|
+
* Values range from zero (0) to infinity, with smaller numbers indicating a better
|
|
4241
|
+
* model fit to the data. RMSE is dependent on scale, and should not be used to
|
|
4242
|
+
* compare datasets of different sizes.</p>
|
|
4243
|
+
* </dd>
|
|
4244
|
+
* </dl>
|
|
4153
4245
|
* <p>If you do not specify a metric explicitly, the default behavior is to automatically
|
|
4154
4246
|
* use:</p>
|
|
4155
4247
|
* <ul>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
2
|
-
import { ActionSource, ActionStatus, AdditionalInferenceSpecificationDefinition, AlgorithmSpecification,
|
|
2
|
+
import { ActionSource, ActionStatus, AdditionalInferenceSpecificationDefinition, AlgorithmSpecification, AnnotationConsolidationConfig, AppSpecification, AppType, ArtifactSource, AthenaDatasetDefinition, AwsManagedHumanLoopRequestSource, BatchDataCaptureConfig, BatchStrategy, BatchTransformInput, Bias, CaptureContentTypeHeader, CaptureStatus, CategoricalParameter, CategoricalParameterRange, Channel, CheckpointConfig, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, ContainerDefinition, ContentClassifier, ContinuousParameterRange, DataCatalogConfig, DeviceSelectionConfig, EdgeDeploymentConfig, EndpointInput, FeatureDefinition, HyperParameterScalingType, HyperParameterTuningJobObjective, InferenceSpecification, JupyterServerAppSettings, KernelGatewayAppSettings, MetadataProperties, MetricDefinition, MetricsSource, ModelApprovalStatus, MonitoringConstraintsResource, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStatisticsResource, MonitoringStoppingCondition, OutputDataConfig, ProcessingInstanceType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProcessingS3UploadMode, ProductionVariantInstanceType, ResourceConfig, S3StorageConfig, StoppingCondition, Tag, TrainingInputMode, TrainingInstanceType, TransformInput, TransformJobDefinition, TransformOutput, TransformResources, UserContext, UserSettings, VpcConfig } from "./models_0";
|
|
3
3
|
export declare enum TableFormat {
|
|
4
4
|
GLUE = "Glue",
|
|
5
5
|
ICEBERG = "Iceberg"
|
|
@@ -1321,7 +1321,7 @@ export interface HyperParameterTuningJobConfig {
|
|
|
1321
1321
|
/**
|
|
1322
1322
|
* <p>The <a>ParameterRanges</a> object that specifies the ranges of
|
|
1323
1323
|
* hyperparameters that this tuning job searches over to find the optimal configuration for
|
|
1324
|
-
* the highest model performance against
|
|
1324
|
+
* the highest model performance against your chosen objective metric. </p>
|
|
1325
1325
|
*/
|
|
1326
1326
|
ParameterRanges?: ParameterRanges;
|
|
1327
1327
|
/**
|
|
@@ -1840,7 +1840,7 @@ export interface CreateImageRequest {
|
|
|
1840
1840
|
*/
|
|
1841
1841
|
ImageName: string | undefined;
|
|
1842
1842
|
/**
|
|
1843
|
-
* <p>The
|
|
1843
|
+
* <p>The ARN of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.</p>
|
|
1844
1844
|
*/
|
|
1845
1845
|
RoleArn: string | undefined;
|
|
1846
1846
|
/**
|
|
@@ -1850,10 +1850,25 @@ export interface CreateImageRequest {
|
|
|
1850
1850
|
}
|
|
1851
1851
|
export interface CreateImageResponse {
|
|
1852
1852
|
/**
|
|
1853
|
-
* <p>The
|
|
1853
|
+
* <p>The ARN of the image.</p>
|
|
1854
1854
|
*/
|
|
1855
1855
|
ImageArn?: string;
|
|
1856
1856
|
}
|
|
1857
|
+
export declare enum JobType {
|
|
1858
|
+
INFERENCE = "INFERENCE",
|
|
1859
|
+
NOTEBOOK_KERNEL = "NOTEBOOK_KERNEL",
|
|
1860
|
+
TRAINING = "TRAINING"
|
|
1861
|
+
}
|
|
1862
|
+
export declare enum Processor {
|
|
1863
|
+
CPU = "CPU",
|
|
1864
|
+
GPU = "GPU"
|
|
1865
|
+
}
|
|
1866
|
+
export declare enum VendorGuidance {
|
|
1867
|
+
ARCHIVED = "ARCHIVED",
|
|
1868
|
+
NOT_PROVIDED = "NOT_PROVIDED",
|
|
1869
|
+
STABLE = "STABLE",
|
|
1870
|
+
TO_BE_ARCHIVED = "TO_BE_ARCHIVED"
|
|
1871
|
+
}
|
|
1857
1872
|
export interface CreateImageVersionRequest {
|
|
1858
1873
|
/**
|
|
1859
1874
|
* <p>The registry path of the container image to use as the starting point for this
|
|
@@ -1872,10 +1887,84 @@ export interface CreateImageVersionRequest {
|
|
|
1872
1887
|
* <p>The <code>ImageName</code> of the <code>Image</code> to create a version of.</p>
|
|
1873
1888
|
*/
|
|
1874
1889
|
ImageName: string | undefined;
|
|
1890
|
+
/**
|
|
1891
|
+
* <p>A list of aliases created with the image version.</p>
|
|
1892
|
+
*/
|
|
1893
|
+
Aliases?: string[];
|
|
1894
|
+
/**
|
|
1895
|
+
* <p>The stability of the image version, specified by the maintainer.</p>
|
|
1896
|
+
* <ul>
|
|
1897
|
+
* <li>
|
|
1898
|
+
* <p>
|
|
1899
|
+
* <code>NOT_PROVIDED</code>: The maintainers did not provide a status for image version stability.</p>
|
|
1900
|
+
* </li>
|
|
1901
|
+
* <li>
|
|
1902
|
+
* <p>
|
|
1903
|
+
* <code>STABLE</code>: The image version is stable.</p>
|
|
1904
|
+
* </li>
|
|
1905
|
+
* <li>
|
|
1906
|
+
* <p>
|
|
1907
|
+
* <code>TO_BE_ARCHIVED</code>: The image version is set to be archived. Custom image versions that are set to be archived are automatically archived after three months.</p>
|
|
1908
|
+
* </li>
|
|
1909
|
+
* <li>
|
|
1910
|
+
* <p>
|
|
1911
|
+
* <code>ARCHIVED</code>: The image version is archived. Archived image versions are not searchable and are no longer actively supported. </p>
|
|
1912
|
+
* </li>
|
|
1913
|
+
* </ul>
|
|
1914
|
+
*/
|
|
1915
|
+
VendorGuidance?: VendorGuidance | string;
|
|
1916
|
+
/**
|
|
1917
|
+
* <p>Indicates SageMaker job type compatibility.</p>
|
|
1918
|
+
* <ul>
|
|
1919
|
+
* <li>
|
|
1920
|
+
* <p>
|
|
1921
|
+
* <code>TRAINING</code>: The image version is compatible with SageMaker training jobs.</p>
|
|
1922
|
+
* </li>
|
|
1923
|
+
* <li>
|
|
1924
|
+
* <p>
|
|
1925
|
+
* <code>INFERENCE</code>: The image version is compatible with SageMaker inference jobs.</p>
|
|
1926
|
+
* </li>
|
|
1927
|
+
* <li>
|
|
1928
|
+
* <p>
|
|
1929
|
+
* <code>NOTEBOOK_KERNEL</code>: The image version is compatible with SageMaker notebook kernels.</p>
|
|
1930
|
+
* </li>
|
|
1931
|
+
* </ul>
|
|
1932
|
+
*/
|
|
1933
|
+
JobType?: JobType | string;
|
|
1934
|
+
/**
|
|
1935
|
+
* <p>The machine learning framework vended in the image version.</p>
|
|
1936
|
+
*/
|
|
1937
|
+
MLFramework?: string;
|
|
1938
|
+
/**
|
|
1939
|
+
* <p>The supported programming language and its version.</p>
|
|
1940
|
+
*/
|
|
1941
|
+
ProgrammingLang?: string;
|
|
1942
|
+
/**
|
|
1943
|
+
* <p>Indicates CPU or GPU compatibility.</p>
|
|
1944
|
+
* <ul>
|
|
1945
|
+
* <li>
|
|
1946
|
+
* <p>
|
|
1947
|
+
* <code>CPU</code>: The image version is compatible with CPU.</p>
|
|
1948
|
+
* </li>
|
|
1949
|
+
* <li>
|
|
1950
|
+
* <p>
|
|
1951
|
+
* <code>GPU</code>: The image version is compatible with GPU.</p>
|
|
1952
|
+
* </li>
|
|
1953
|
+
* </ul>
|
|
1954
|
+
*/
|
|
1955
|
+
Processor?: Processor | string;
|
|
1956
|
+
/**
|
|
1957
|
+
* <p>Indicates Horovod compatibility.</p>
|
|
1958
|
+
*/
|
|
1959
|
+
Horovod?: boolean;
|
|
1960
|
+
/**
|
|
1961
|
+
* <p>The maintainer description of the image version.</p>
|
|
1962
|
+
*/
|
|
1963
|
+
ReleaseNotes?: string;
|
|
1875
1964
|
}
|
|
1876
1965
|
export interface CreateImageVersionResponse {
|
|
1877
1966
|
/**
|
|
1878
|
-
* <p>The
|
|
1967
|
+
* <p>The ARN of the image version.</p>
|
|
1879
1968
|
*/
|
|
1880
1969
|
ImageVersionArn?: string;
|
|
1881
1970
|
}
|
|
@@ -6086,7 +6175,7 @@ export interface CreatePresignedNotebookInstanceUrlOutput {
|
|
|
6086
6175
|
*/
|
|
6087
6176
|
export interface ExperimentConfig {
|
|
6088
6177
|
/**
|
|
6089
|
-
* <p>The name of an existing experiment to associate the trial component
|
|
6178
|
+
* <p>The name of an existing experiment to associate with the trial component.</p>
|
|
6090
6179
|
*/
|
|
6091
6180
|
ExperimentName?: string;
|
|
6092
6181
|
/**
|
|
@@ -6100,7 +6189,7 @@ export interface ExperimentConfig {
|
|
|
6100
6189
|
*/
|
|
6101
6190
|
TrialComponentDisplayName?: string;
|
|
6102
6191
|
/**
|
|
6103
|
-
* <p>The name of the experiment run to associate the trial component
|
|
6192
|
+
* <p>The name of the experiment run to associate with the trial component.</p>
|
|
6104
6193
|
*/
|
|
6105
6194
|
RunName?: string;
|
|
6106
6195
|
}
|
|
@@ -7882,13 +7971,17 @@ export interface DeleteImageResponse {
|
|
|
7882
7971
|
}
|
|
7883
7972
|
export interface DeleteImageVersionRequest {
|
|
7884
7973
|
/**
|
|
7885
|
-
* <p>The name of the image.</p>
|
|
7974
|
+
* <p>The name of the image to delete.</p>
|
|
7886
7975
|
*/
|
|
7887
7976
|
ImageName: string | undefined;
|
|
7888
7977
|
/**
|
|
7889
7978
|
* <p>The version to delete.</p>
|
|
7890
7979
|
*/
|
|
7891
|
-
Version
|
|
7980
|
+
Version?: number;
|
|
7981
|
+
/**
|
|
7982
|
+
* <p>The alias of the image to delete.</p>
|
|
7983
|
+
*/
|
|
7984
|
+
Alias?: string;
|
|
7892
7985
|
}
|
|
7893
7986
|
export interface DeleteImageVersionResponse {
|
|
7894
7987
|
}
|
|
@@ -8236,82 +8329,6 @@ export interface DescribeActionResponse {
|
|
|
8236
8329
|
*/
|
|
8237
8330
|
LineageGroupArn?: string;
|
|
8238
8331
|
}
|
|
8239
|
-
export interface DescribeAlgorithmInput {
|
|
8240
|
-
/**
|
|
8241
|
-
* <p>The name of the algorithm to describe.</p>
|
|
8242
|
-
*/
|
|
8243
|
-
AlgorithmName: string | undefined;
|
|
8244
|
-
}
|
|
8245
|
-
export interface DescribeAlgorithmOutput {
|
|
8246
|
-
/**
|
|
8247
|
-
* <p>The name of the algorithm being described.</p>
|
|
8248
|
-
*/
|
|
8249
|
-
AlgorithmName: string | undefined;
|
|
8250
|
-
/**
|
|
8251
|
-
* <p>The Amazon Resource Name (ARN) of the algorithm.</p>
|
|
8252
|
-
*/
|
|
8253
|
-
AlgorithmArn: string | undefined;
|
|
8254
|
-
/**
|
|
8255
|
-
* <p>A brief summary about the algorithm.</p>
|
|
8256
|
-
*/
|
|
8257
|
-
AlgorithmDescription?: string;
|
|
8258
|
-
/**
|
|
8259
|
-
* <p>A timestamp specifying when the algorithm was created.</p>
|
|
8260
|
-
*/
|
|
8261
|
-
CreationTime: Date | undefined;
|
|
8262
|
-
/**
|
|
8263
|
-
* <p>Details about training jobs run by this algorithm.</p>
|
|
8264
|
-
*/
|
|
8265
|
-
TrainingSpecification: TrainingSpecification | undefined;
|
|
8266
|
-
/**
|
|
8267
|
-
* <p>Details about inference jobs that the algorithm runs.</p>
|
|
8268
|
-
*/
|
|
8269
|
-
InferenceSpecification?: InferenceSpecification;
|
|
8270
|
-
/**
|
|
8271
|
-
* <p>Details about configurations for one or more training jobs that SageMaker runs to test the
|
|
8272
|
-
* algorithm.</p>
|
|
8273
|
-
*/
|
|
8274
|
-
ValidationSpecification?: AlgorithmValidationSpecification;
|
|
8275
|
-
/**
|
|
8276
|
-
* <p>The current status of the algorithm.</p>
|
|
8277
|
-
*/
|
|
8278
|
-
AlgorithmStatus: AlgorithmStatus | string | undefined;
|
|
8279
|
-
/**
|
|
8280
|
-
* <p>Details about the current status of the algorithm.</p>
|
|
8281
|
-
*/
|
|
8282
|
-
AlgorithmStatusDetails: AlgorithmStatusDetails | undefined;
|
|
8283
|
-
/**
|
|
8284
|
-
* <p>The product identifier of the algorithm.</p>
|
|
8285
|
-
*/
|
|
8286
|
-
ProductId?: string;
|
|
8287
|
-
/**
|
|
8288
|
-
* <p>Whether the algorithm is certified to be listed in Amazon Web Services
|
|
8289
|
-
* Marketplace.</p>
|
|
8290
|
-
*/
|
|
8291
|
-
CertifyForMarketplace?: boolean;
|
|
8292
|
-
}
|
|
8293
|
-
export interface DescribeAppRequest {
|
|
8294
|
-
/**
|
|
8295
|
-
* <p>The domain ID.</p>
|
|
8296
|
-
*/
|
|
8297
|
-
DomainId: string | undefined;
|
|
8298
|
-
/**
|
|
8299
|
-
* <p>The user profile name. If this value is not set, then <code>SpaceName</code> must be set.</p>
|
|
8300
|
-
*/
|
|
8301
|
-
UserProfileName?: string;
|
|
8302
|
-
/**
|
|
8303
|
-
* <p>The type of app.</p>
|
|
8304
|
-
*/
|
|
8305
|
-
AppType: AppType | string | undefined;
|
|
8306
|
-
/**
|
|
8307
|
-
* <p>The name of the app.</p>
|
|
8308
|
-
*/
|
|
8309
|
-
AppName: string | undefined;
|
|
8310
|
-
/**
|
|
8311
|
-
* <p>The name of the space.</p>
|
|
8312
|
-
*/
|
|
8313
|
-
SpaceName?: string;
|
|
8314
|
-
}
|
|
8315
8332
|
/**
|
|
8316
8333
|
* @internal
|
|
8317
8334
|
*/
|
|
@@ -9380,15 +9397,3 @@ export declare const DescribeActionRequestFilterSensitiveLog: (obj: DescribeActi
|
|
|
9380
9397
|
* @internal
|
|
9381
9398
|
*/
|
|
9382
9399
|
export declare const DescribeActionResponseFilterSensitiveLog: (obj: DescribeActionResponse) => any;
|
|
9383
|
-
/**
|
|
9384
|
-
* @internal
|
|
9385
|
-
*/
|
|
9386
|
-
export declare const DescribeAlgorithmInputFilterSensitiveLog: (obj: DescribeAlgorithmInput) => any;
|
|
9387
|
-
/**
|
|
9388
|
-
* @internal
|
|
9389
|
-
*/
|
|
9390
|
-
export declare const DescribeAlgorithmOutputFilterSensitiveLog: (obj: DescribeAlgorithmOutput) => any;
|
|
9391
|
-
/**
|
|
9392
|
-
* @internal
|
|
9393
|
-
*/
|
|
9394
|
-
export declare const DescribeAppRequestFilterSensitiveLog: (obj: DescribeAppRequest) => any;
|