Skip to content

Commit b40025d

Browse files
author
AWS
committed
Amazon Personalize Update: [Personalize] Adds support for returning hyperparameter values of the best performing model in a HPO job.
1 parent a06966a commit b40025d

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Personalize",
4+
"description": "[Personalize] Adds support for returning hyperparameter values of the best performing model in a HPO job."
5+
}

services/personalize/src/main/resources/codegen-resources/service-2.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,6 +816,10 @@
816816
"failureReason":{
817817
"shape":"FailureReason",
818818
"documentation":"<p>If the batch inference job failed, the reason for the failure.</p>"
819+
},
820+
"solutionVersionArn":{
821+
"shape":"Arn",
822+
"documentation":"<p>The ARN of the solution version used by the batch inference job.</p>"
819823
}
820824
},
821825
"documentation":"<p>A truncated version of the <a>BatchInferenceJob</a> datatype. The <a>ListBatchInferenceJobs</a> operation returns a list of batch inference job summaries.</p>"
@@ -2130,7 +2134,7 @@
21302134
"members":{
21312135
"type":{
21322136
"shape":"HPOObjectiveType",
2133-
"documentation":"<p>The data type of the metric.</p>"
2137+
"documentation":"<p>The type of the metric. Valid values are <code>Maximize</code> and <code>Minimize</code>.</p>"
21342138
},
21352139
"metricName":{
21362140
"shape":"MetricName",
@@ -2871,6 +2875,10 @@
28712875
"shape":"TrainingMode",
28722876
"documentation":"<p>The scope of training used to create the solution version. The <code>FULL</code> option trains the solution version based on the entirety of the input solution's training data, while the <code>UPDATE</code> option processes only the training data that has changed since the creation of the last solution version. Choose <code>UPDATE</code> when you want to start recommending items added to the dataset without retraining the model.</p> <important> <p>The <code>UPDATE</code> option can only be used after you've created a solution version with the <code>FULL</code> option and the training solution uses the <a>native-recipe-hrnn-coldstart</a>.</p> </important>"
28732877
},
2878+
"tunedHPOParams":{
2879+
"shape":"TunedHPOParams",
2880+
"documentation":"<p>If hyperparameter optimization was performed, contains the hyperparameter values of the best performing model.</p>"
2881+
},
28742882
"status":{
28752883
"shape":"Status",
28762884
"documentation":"<p>The status of the solution version.</p> <p>A solution version can be in one of the following states:</p> <ul> <li> <p>CREATE PENDING</p> </li> <li> <p>CREATE IN_PROGRESS</p> </li> <li> <p>ACTIVE</p> </li> <li> <p>CREATE FAILED</p> </li> </ul>"
@@ -2954,6 +2962,16 @@
29542962
"min":1
29552963
},
29562964
"Tunable":{"type":"boolean"},
2965+
"TunedHPOParams":{
2966+
"type":"structure",
2967+
"members":{
2968+
"algorithmHyperParameters":{
2969+
"shape":"HyperParameters",
2970+
"documentation":"<p>A list of the hyperparameter values of the best performing model.</p>"
2971+
}
2972+
},
2973+
"documentation":"<p>If hyperparameter optimization (HPO) was performed, contains the hyperparameter values of the best performing model.</p>"
2974+
},
29572975
"UpdateCampaignRequest":{
29582976
"type":"structure",
29592977
"required":["campaignArn"],

0 commit comments

Comments
 (0)