Learn R Programming

datarobot (version 2.18.6)

CreateDerivedFeatures: Derived Features

Description

These functions request that new features be created as transformations of existing features and wait for the new feature to be created.

Usage

CreateDerivedFeatureAsCategorical(
  project,
  parentName,
  name = NULL,
  dateExtraction = NULL,
  replacement = NULL,
  maxWait = 600
)

CreateDerivedFeatureAsText( project, parentName, name = NULL, dateExtraction = NULL, replacement = NULL, maxWait = 600 )

CreateDerivedFeatureAsNumeric( project, parentName, name = NULL, dateExtraction = NULL, replacement = NULL, maxWait = 600 )

CreateDerivedFeatureIntAsCategorical( project, parentName, name = NULL, dateExtraction = NULL, replacement = NULL, maxWait = 600 )

Value

Details for the created feature; same schema as the object returned from GetFeatureInfo.

Arguments

project

character. Either (1) a character string giving the unique alphanumeric identifier for the project, or (2) a list containing the element projectId with this identifier.

parentName

The name of the parent feature.

name

The name of the new feature.

dateExtraction

dateExtraction: The value to extract from the date column: 'year', 'yearDay', 'month', 'monthDay', 'week', or 'weekDay'. Required for transformation of a date column. Otherwise must not be provided.

replacement

The replacement in case of a failed transformation. Optional.

maxWait

The maximum time (in seconds) to wait for feature creation.