Feature List API

class datarobot.models.Featurelist(id=None, name=None, features=None, project_id=None)

A set of features used in modeling

Attributes

id (str) the id of the featurelist
name (str) the name of the featurelist
features (list of str) the names of all the Features in the Featurelist
project_id (str) the project the Featurelist belongs to
classmethod get(project_id, featurelist_id)

Retrieve a known feature list

Parameters:

project_id : str

The id of the project the featurelist is associated with

featurelist_id : str

The ID of the featurelist to retrieve

Returns:

featurelist : Featurelist

The queried instance

class datarobot.models.ModelingFeaturelist(id=None, name=None, features=None, project_id=None)

A set of features that can be used to build a model

In time series projects, a new set of modeling features is created after setting the partitioning options. These features are automatically derived from those in the project’s dataset and are the features used for modeling. Modeling features are only accessible once the target and partitioning options have been set. In projects that don’t use time series modeling, once the target has been set, ModelingFeaturelists and Featurelists will behave the same.

Attributes

id (str) the id of the modeling featurelist
project_id (str) the id of the project the modeling featurelist belongs to
name (str) the name of the modeling featurelist
features (list of str) a list of the names of features included in this modeling featurelist
classmethod get(project_id, featurelist_id)

Retrieve a modeling featurelist

Modeling featurelists can only be retrieved once the target and partitioning options have been set.

Parameters:

project_id : str

the id of the project the modeling featurelist belongs to

featurelist_id : str

the id of the modeling featurelist to retrieve

Returns:

featurelist : ModelingFeaturelist

the specified featurelist