Create Audience Model
cleanroomsml_create_audience_model | R Documentation |
Defines the information necessary to create an audience model¶
Description¶
Defines the information necessary to create an audience model. An
audience model is a machine learning model that Clean Rooms ML trains to
measure similarity between users. Clean Rooms ML manages training and
storing the audience model. The audience model can be used in multiple
calls to the start_audience_generation_job
API.
Usage¶
cleanroomsml_create_audience_model(trainingDataStartTime,
trainingDataEndTime, name, trainingDatasetArn, kmsKeyArn, tags,
description)
Arguments¶
trainingDataStartTime |
The start date and time of the training window. |
trainingDataEndTime |
The end date and time of the training window. |
name |
[required] The name of the audience model resource. |
trainingDatasetArn |
[required] The Amazon Resource Name (ARN) of the training dataset for this audience model. |
kmsKeyArn |
The Amazon Resource Name (ARN) of the KMS key. This key is used to encrypt and decrypt customer-owned data in the trained ML model and the associated data. |
tags |
The optional metadata that you apply to the resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. The following basic restrictions apply to tags:
|
description |
The description of the audience model. |
Value¶
A list with the following syntax:
list(
audienceModelArn = "string"
)
Request syntax¶
svc$create_audience_model(
trainingDataStartTime = as.POSIXct(
"2015-01-01"
),
trainingDataEndTime = as.POSIXct(
"2015-01-01"
),
name = "string",
trainingDatasetArn = "string",
kmsKeyArn = "string",
tags = list(
"string"
),
description = "string"
)