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

personalize_create_dataset

Creates an empty dataset and adds it to the specified dataset group


Description

Creates an empty dataset and adds it to the specified dataset group. Use create_dataset_import_job to import your training data to a dataset.

There are three types of datasets:

  • Interactions

  • Items

  • Users

Each dataset type has an associated schema with required field types. Only the Interactions dataset is required in order to train a model (also referred to as creating a solution).

A dataset can be in one of the following states:

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

  • DELETE PENDING > DELETE IN_PROGRESS

To get the status of the dataset, call describe_dataset.

Related APIs

Usage

personalize_create_dataset(name, schemaArn, datasetGroupArn,
  datasetType)

Arguments

name

[required] The name for the dataset.

schemaArn

[required] The ARN of the schema to associate with the dataset. The schema defines the dataset fields.

datasetGroupArn

[required] The Amazon Resource Name (ARN) of the dataset group to add the dataset to.

datasetType

[required] The type of dataset.

One of the following (case insensitive) values:

  • Interactions

  • Items

  • Users

Value

A list with the following syntax:

list(
  datasetArn = "string"
)

Request syntax

svc$create_dataset(
  name = "string",
  schemaArn = "string",
  datasetGroupArn = "string",
  datasetType = "string"
)

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.