GetFeaturelist: Retrieve a specific featurelist from a DataRobot project

View source: R/Featurelists.R

GetFeaturelistR Documentation

Retrieve a specific featurelist from a DataRobot project

Description

This function returns information about and the contents of a specified featurelist from a specified project.

Usage

GetFeaturelist(project, featurelistId)

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.

featurelistId

Unique alphanumeric identifier for the featurelist to be retrieved.

Details

DataRobot featurelists define the variables from the modeling dataset used in fitting each project model. In most cases, the same featurelist is used in fitting all project models, but models can be fit using alternative featurelists using the RequestNewModel function. To do this, featurelistId is required, and this is one of the elements returned by the GetFeaturelist function.

DataRobot featurelists define the variables from the modeling dataset used in fitting each project model. In most cases, the same featurelist is used in fitting all project models, but models can be fit using alternative featurelists using the RequestNewModel function. To do this, featurelistId is required, and this is one of the elements returned by the GetFeaturelist function.

Value

A list with the following elements describing the requested featurelist:

  • featurelistId character. The unique alphanumeric identifier for the featurelist.

  • projectId character. The project to which the featurelist belongs.

  • features character. The names of the variables included in the featurelist.

  • name character. The name of the featurelist.

  • created character. A timestamp of when the featurelist was created.

  • isUserCreated logical. Whether or not the featurelist was created by a user (as opposed to DataRobot automation).

  • numModels numeric. The number of models that currently use this featurelist.

Examples

## Not run: 
  projectId <- "59a5af20c80891534e3c2bde"
  featureList <- CreateFeaturelist(projectId, "myFeaturelist", c("feature1", "feature2"))
  featurelistId <- featureList$featurelistId
  GetFeaturelist(projectId, featurelistId)

## End(Not run)

datarobot documentation built on May 29, 2024, 4:36 a.m.