Skip to content

DatasetGroup

Source: src/AWS/Forecast/DatasetGroup.ts

An Amazon Forecast dataset group — a domain-scoped container that groups the datasets used to train predictors. Creating the group is cheap; the expensive training work lives in predictors and forecasts provisioned separately.

Custom Dataset Group

const group = yield* Forecast.DatasetGroup("Sales", {
domain: "CUSTOM",
});

Dataset Group with Attached Datasets

const group = yield* Forecast.DatasetGroup("Sales", {
domain: "RETAIL",
datasetArns: [dataset.datasetArn],
tags: { team: "planning" },
});