Learn R Programming

RemixAutoML (version 0.5.0)

ID_BuildTrainDataSets: ID_BuildTrainDataSets

Description

ID_BuildTrainDataSets for assembling data for the IntermittentDemandBootStrapper() function.

Usage

ID_BuildTrainDataSets(
  MetaData,
  data,
  Case = 2L,
  TargetVariableName = NULL,
  DateVariableName = NULL,
  GroupingVariables = NULL,
  FC_Periods,
  TimeUnit = "week",
  PowerRate = 0.5,
  SampleRate = 5L,
  TargetWindowSamples = 5L
)

Arguments

MetaData

This is the metadata returned from the ID_MetadataGenerator() function

data

This is your transactional data

Case

Indicate which data constructor method to use

TargetVariableName

Your target variable names

DateVariableName

Your date variable names

GroupingVariables

Your grouping variables

FC_Periods

The number of periods to forecast

TimeUnit

The time period unit, such as "day", "week", or "month"

PowerRate

The calculated for determining the total samples is number of records to the power of PowerRate. Then that values is multiplied by the SampleRate. This ensures that a more representative sample is generated across the data set.

SampleRate

The value used to sample from each level of the grouping variables

TargetWindowSamples

The number of different targets to utilize for a single random start date

Value

Returns the count modeling data and the size modeling data

See Also

Other Feature Engineering Helper: AutoFourierFeatures(), ID_MetadataGenerator(), ID_TrainingDataGenerator2(), ID_TrainingDataGenerator()