Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

personalize_create_solution_version

Trains or retrains an active solution


Description

Trains or retrains an active solution. A solution is created using the create_solution operation and must be in the ACTIVE state before calling create_solution_version. A new version of the solution is created every time you call this operation.

Status

A solution version can be in one of the following states:

  • CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

To get the status of the version, call describe_solution_version. Wait until the status shows as ACTIVE before calling create_campaign.

If the status shows as CREATE FAILED, the response includes a failureReason key, which describes why the job failed.

Related APIs

Usage

personalize_create_solution_version(solutionArn, trainingMode)

Arguments

solutionArn

[required] The Amazon Resource Name (ARN) of the solution containing the training configuration information.

trainingMode

The scope of training to be performed when creating the solution version. The FULL option trains the solution version based on the entirety of the input solution's training data, while the UPDATE option processes only the data that has changed in comparison to the input solution. Choose UPDATE when you want to incrementally update your solution version instead of creating an entirely new one.

The UPDATE option can only be used when you already have an active solution version created from the input solution using the FULL option and the input solution was trained with the native-recipe-hrnn-coldstart recipe.

Value

A list with the following syntax:

list(
  solutionVersionArn = "string"
)

Request syntax

svc$create_solution_version(
  solutionArn = "string",
  trainingMode = "FULL"|"UPDATE"
)

paws.machine.learning

Amazon Web Services Machine Learning Services

v0.1.11
Apache License (>= 2.0)
Authors
David Kretch [aut, cre], Adam Banker [aut], Amazon.com, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.