TargetConfig#

class datarobotx.TargetConfig(AutoML=None, AutoTS=None, target=None, target_type=None)#

Target configuration.

Parameters that default to ‘None’ (or are omitted by the user) are overridden to server-side defaults at runtime. Consult the DataRobot REST API and GUI documentation for additional information on each parameter.

Parameters:
  • AutoML (dict or TargetAutoMLConfig) – AutoML additional target options

  • AutoTS (dict or TargetAutoTSConfig) – Time series target(s) configuration

  • target (str) – The name of the target feature.

  • target_type ({'Binary', 'Regression', 'Multiclass', 'Multilabel'}) – Used to specify the targetType to use for a project when it is ambiguous, i.e. a numeric target with a few unique values that could be used for either regression or multiclass.

See also

DRConfig

Configuration object for DataRobot project and autopilot settings, also includes detailed examples of usage

Attributes:

AutoML

AutoML additional target options.

AutoTS

Time series target(s) configuration.

target

The name of the target feature.

target_type

Used to specify the targetType to use for a project when it is ambiguous, i.e. a numeric target with a few unique values that could be used for either regression or multiclass.

Inherited methods:

keys()

rtype:

Collection[str]

to_dict()

Return configuration as a dict.

property AutoML: TargetAutoMLConfig#

AutoML additional target options.

Notes

AutoML : dict or TargetAutoMLConfig

property AutoTS: TargetAutoTSConfig#

Time series target(s) configuration.

Notes

AutoTS : dict or TargetAutoTSConfig

property target: str#

The name of the target feature.

Notes

target : str

property target_type: str#

Used to specify the targetType to use for a project when it is ambiguous, i.e. a numeric target with a few unique values that could be used for either regression or multiclass.

Notes

target_type : {‘Binary’, ‘Regression’, ‘Multiclass’, ‘Multilabel’}

to_dict()#

Return configuration as a dict.

Return type:

Dict[str, Any]