Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data SolutionVersion = SolutionVersion' {
- failureReason :: Maybe Text
- solutionArn :: Maybe Text
- status :: Maybe Text
- performAutoML :: Maybe Bool
- tunedHPOParams :: Maybe TunedHPOParams
- recipeArn :: Maybe Text
- lastUpdatedDateTime :: Maybe POSIX
- eventType :: Maybe Text
- creationDateTime :: Maybe POSIX
- datasetGroupArn :: Maybe Text
- trainingMode :: Maybe TrainingMode
- trainingHours :: Maybe Double
- solutionConfig :: Maybe SolutionConfig
- performHPO :: Maybe Bool
- solutionVersionArn :: Maybe Text
- newSolutionVersion :: SolutionVersion
- solutionVersion_failureReason :: Lens' SolutionVersion (Maybe Text)
- solutionVersion_solutionArn :: Lens' SolutionVersion (Maybe Text)
- solutionVersion_status :: Lens' SolutionVersion (Maybe Text)
- solutionVersion_performAutoML :: Lens' SolutionVersion (Maybe Bool)
- solutionVersion_tunedHPOParams :: Lens' SolutionVersion (Maybe TunedHPOParams)
- solutionVersion_recipeArn :: Lens' SolutionVersion (Maybe Text)
- solutionVersion_lastUpdatedDateTime :: Lens' SolutionVersion (Maybe UTCTime)
- solutionVersion_eventType :: Lens' SolutionVersion (Maybe Text)
- solutionVersion_creationDateTime :: Lens' SolutionVersion (Maybe UTCTime)
- solutionVersion_datasetGroupArn :: Lens' SolutionVersion (Maybe Text)
- solutionVersion_trainingMode :: Lens' SolutionVersion (Maybe TrainingMode)
- solutionVersion_trainingHours :: Lens' SolutionVersion (Maybe Double)
- solutionVersion_solutionConfig :: Lens' SolutionVersion (Maybe SolutionConfig)
- solutionVersion_performHPO :: Lens' SolutionVersion (Maybe Bool)
- solutionVersion_solutionVersionArn :: Lens' SolutionVersion (Maybe Text)
Documentation
data SolutionVersion Source #
An object that provides information about a specific version of a Solution.
See: newSolutionVersion
smart constructor.
SolutionVersion' | |
|
Instances
newSolutionVersion :: SolutionVersion Source #
Create a value of SolutionVersion
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:failureReason:SolutionVersion'
, solutionVersion_failureReason
- If training a solution version fails, the reason for the failure.
$sel:solutionArn:SolutionVersion'
, solutionVersion_solutionArn
- The ARN of the solution.
$sel:status:SolutionVersion'
, solutionVersion_status
- The status of the solution version.
A solution version can be in one of the following states:
- CREATE PENDING
- CREATE IN_PROGRESS
- ACTIVE
- CREATE FAILED
- CREATE STOPPING
- CREATE STOPPED
$sel:performAutoML:SolutionVersion'
, solutionVersion_performAutoML
- When true, Amazon Personalize searches for the most optimal recipe
according to the solution configuration. When false (the default),
Amazon Personalize uses recipeArn
.
$sel:tunedHPOParams:SolutionVersion'
, solutionVersion_tunedHPOParams
- If hyperparameter optimization was performed, contains the
hyperparameter values of the best performing model.
$sel:recipeArn:SolutionVersion'
, solutionVersion_recipeArn
- The ARN of the recipe used in the solution.
$sel:lastUpdatedDateTime:SolutionVersion'
, solutionVersion_lastUpdatedDateTime
- The date and time (in Unix time) that the solution was last updated.
$sel:eventType:SolutionVersion'
, solutionVersion_eventType
- The event type (for example, 'click' or 'like') that is used for
training the model.
$sel:creationDateTime:SolutionVersion'
, solutionVersion_creationDateTime
- The date and time (in Unix time) that this version of the solution was
created.
$sel:datasetGroupArn:SolutionVersion'
, solutionVersion_datasetGroupArn
- The Amazon Resource Name (ARN) of the dataset group providing the
training data.
$sel:trainingMode:SolutionVersion'
, solutionVersion_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
User-Personalization
recipe or the
HRNN-Coldstart
recipe.
$sel:trainingHours:SolutionVersion'
, solutionVersion_trainingHours
- The time used to train the model. You are billed for the time it takes
to train a model. This field is visible only after Amazon Personalize
successfully trains a model.
$sel:solutionConfig:SolutionVersion'
, solutionVersion_solutionConfig
- Describes the configuration properties for the solution.
$sel:performHPO:SolutionVersion'
, solutionVersion_performHPO
- Whether to perform hyperparameter optimization (HPO) on the chosen
recipe. The default is false
.
$sel:solutionVersionArn:SolutionVersion'
, solutionVersion_solutionVersionArn
- The ARN of the solution version.
solutionVersion_failureReason :: Lens' SolutionVersion (Maybe Text) Source #
If training a solution version fails, the reason for the failure.
solutionVersion_solutionArn :: Lens' SolutionVersion (Maybe Text) Source #
The ARN of the solution.
solutionVersion_status :: Lens' SolutionVersion (Maybe Text) Source #
The status of the solution version.
A solution version can be in one of the following states:
- CREATE PENDING
- CREATE IN_PROGRESS
- ACTIVE
- CREATE FAILED
- CREATE STOPPING
- CREATE STOPPED
solutionVersion_performAutoML :: Lens' SolutionVersion (Maybe Bool) Source #
When true, Amazon Personalize searches for the most optimal recipe
according to the solution configuration. When false (the default),
Amazon Personalize uses recipeArn
.
solutionVersion_tunedHPOParams :: Lens' SolutionVersion (Maybe TunedHPOParams) Source #
If hyperparameter optimization was performed, contains the hyperparameter values of the best performing model.
solutionVersion_recipeArn :: Lens' SolutionVersion (Maybe Text) Source #
The ARN of the recipe used in the solution.
solutionVersion_lastUpdatedDateTime :: Lens' SolutionVersion (Maybe UTCTime) Source #
The date and time (in Unix time) that the solution was last updated.
solutionVersion_eventType :: Lens' SolutionVersion (Maybe Text) Source #
The event type (for example, 'click' or 'like') that is used for training the model.
solutionVersion_creationDateTime :: Lens' SolutionVersion (Maybe UTCTime) Source #
The date and time (in Unix time) that this version of the solution was created.
solutionVersion_datasetGroupArn :: Lens' SolutionVersion (Maybe Text) Source #
The Amazon Resource Name (ARN) of the dataset group providing the training data.
solutionVersion_trainingMode :: Lens' SolutionVersion (Maybe TrainingMode) Source #
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
User-Personalization
recipe or the
HRNN-Coldstart
recipe.
solutionVersion_trainingHours :: Lens' SolutionVersion (Maybe Double) Source #
The time used to train the model. You are billed for the time it takes to train a model. This field is visible only after Amazon Personalize successfully trains a model.
solutionVersion_solutionConfig :: Lens' SolutionVersion (Maybe SolutionConfig) Source #
Describes the configuration properties for the solution.
solutionVersion_performHPO :: Lens' SolutionVersion (Maybe Bool) Source #
Whether to perform hyperparameter optimization (HPO) on the chosen
recipe. The default is false
.
solutionVersion_solutionVersionArn :: Lens' SolutionVersion (Maybe Text) Source #
The ARN of the solution version.