2019/09/17 - Amazon Personalize - 1 updated api methods
Changes Update personalize client to latest version
{'solutionVersion': {'trainingHours': 'double'}}
Describes a specific version of a solution. For more information on solutions, see CreateSolution.
See also: AWS API Documentation
Request Syntax
client.describe_solution_version( solutionVersionArn='string' )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the solution version.
dict
Response Syntax
{ 'solutionVersion': { 'solutionVersionArn': 'string', 'solutionArn': 'string', 'performHPO': True|False, 'performAutoML': True|False, 'recipeArn': 'string', 'eventType': 'string', 'datasetGroupArn': 'string', 'solutionConfig': { 'eventValueThreshold': 'string', 'hpoConfig': { 'hpoObjective': { 'type': 'string', 'metricName': 'string', 'metricRegex': 'string' }, 'hpoResourceConfig': { 'maxNumberOfTrainingJobs': 'string', 'maxParallelTrainingJobs': 'string' }, 'algorithmHyperParameterRanges': { 'integerHyperParameterRanges': [ { 'name': 'string', 'minValue': 123, 'maxValue': 123 }, ], 'continuousHyperParameterRanges': [ { 'name': 'string', 'minValue': 123.0, 'maxValue': 123.0 }, ], 'categoricalHyperParameterRanges': [ { 'name': 'string', 'values': [ 'string', ] }, ] } }, 'algorithmHyperParameters': { 'string': 'string' }, 'featureTransformationParameters': { 'string': 'string' }, 'autoMLConfig': { 'metricName': 'string', 'recipeList': [ 'string', ] } }, 'trainingHours': 123.0, 'status': 'string', 'failureReason': 'string', 'creationDateTime': datetime(2015, 1, 1), 'lastUpdatedDateTime': datetime(2015, 1, 1) } }
Response Structure
(dict) --
solutionVersion (dict) --
The solution version.
solutionVersionArn (string) --
The ARN of the solution version.
solutionArn (string) --
The ARN of the solution.
performHPO (boolean) --
Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is false .
performAutoML (boolean) --
When true, Amazon Personalize performs a search for the most optimal recipe according to the solution configuration. When false (the default), Amazon Personalize uses recipeArn .
recipeArn (string) --
The ARN of the recipe used in the solution.
eventType (string) --
The event type (for example, 'click' or 'like') that is used for training the model.
datasetGroupArn (string) --
The Amazon Resource Name (ARN) of the dataset group providing the training data.
solutionConfig (dict) --
Describes the configuration properties for the solution.
eventValueThreshold (string) --
Only events with a value greater than or equal to this threshold are used for training a model.
hpoConfig (dict) --
Describes the properties for hyperparameter optimization (HPO). For use with the bring-your-own-recipe feature. Not used with Amazon Personalize predefined recipes.
hpoObjective (dict) --
The metric to optimize during HPO.
type (string) --
The data type of the metric.
metricName (string) --
The name of the metric.
metricRegex (string) --
A regular expression for finding the metric in the training job logs.
hpoResourceConfig (dict) --
Describes the resource configuration for HPO.
maxNumberOfTrainingJobs (string) --
The maximum number of training jobs.
maxParallelTrainingJobs (string) --
The maximum number of parallel training jobs.
algorithmHyperParameterRanges (dict) --
The hyperparameters and their allowable ranges.
integerHyperParameterRanges (list) --
The integer-valued hyperparameters and their ranges.
(dict) --
Provides the name and range of an integer-valued hyperparameter.
name (string) --
The name of the hyperparameter.
minValue (integer) --
The minimum allowable value for the hyperparameter.
maxValue (integer) --
The maximum allowable value for the hyperparameter.
continuousHyperParameterRanges (list) --
The continuous hyperparameters and their ranges.
(dict) --
Provides the name and range of a continuous hyperparameter.
name (string) --
The name of the hyperparameter.
minValue (float) --
The minimum allowable value for the hyperparameter.
maxValue (float) --
The maximum allowable value for the hyperparameter.
categoricalHyperParameterRanges (list) --
The categorical hyperparameters and their ranges.
(dict) --
Provides the name and range of a categorical hyperparameter.
name (string) --
The name of the hyperparameter.
values (list) --
A list of the categories for the hyperparameter.
(string) --
algorithmHyperParameters (dict) --
Lists the hyperparameter names and ranges.
(string) --
(string) --
featureTransformationParameters (dict) --
Lists the feature transformation parameters.
(string) --
(string) --
autoMLConfig (dict) --
The AutoMLConfig object containing a list of recipes to search when AutoML is performed.
metricName (string) --
The metric to optimize.
recipeList (list) --
The list of candidate recipes.
(string) --
trainingHours (float) --
The time used to train the model.
status (string) --
The status of the solution version.
A solution version can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
failureReason (string) --
If training a solution version fails, the reason behind the failure.
creationDateTime (datetime) --
The date and time (in Unix time) that this version of the solution was created.
lastUpdatedDateTime (datetime) --
The date and time (in Unix time) that the solution was last updated.