CreateFeaturelist {datarobot}R Documentation

Create a new featurelist in a DataRobot project

Description

This function allows the user to create a new featurelist in a project by specifying its name and a list of variables to be included

Usage

CreateFeaturelist(project, listName, featureNames)

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.

listName

character. String identifying the new featurelist to be created.

featureNames

character. Vector listing the names of the variables to be included in the featurelist.

Details

DataRobot featurelists define the variables from the modeling dataset used in fitting each project model. Some functions (SetTarget, StartNewAutopilot) optionally accept a featurelist (and use a default featurelist if none is specified).

Value

A list with the following four elements describing the featurelist created:

featurelistId

Character string giving the unique alphanumeric identifier for the new featurelist.

projectId

Character string giving the projectId identifying the project to which the featurelist was added.

features

Character vector with the names of the variables included in the new featurelist.

name

Character string giving the name of the new featurelist.

Examples

## Not run: 
  projectId <- "59a5af20c80891534e3c2bde"
  CreateFeaturelist(projectId, "myFeaturelist", c("feature1", "feature2", "otherFeature"))

## End(Not run)

[Package datarobot version 2.18.6 Index]