This repository is public. Do not put here any private DataRobot or customer's data, code, datasets, model artifacts, .etc.
RATIONAL
When creating a new custom model, the action maps the TARGET_TYPE values from ModelSchema to values that are expected from the API. This done via MODEL_TARGET_TYPE_MAP in dr_client.py.
The Type map was missing a mapping for Anomaly Detection models. Thus, when using Anomaly Detection as the target type no value was passed to the API leading to an error.
CHANGES
Add missing mapping attribute to the target type
Some refactoring concerning mappings between local schema attributes to DataRobot API.
CAUTION: changing any of the checkbox states will immediately terminate a previous run that
is in progress.
This repository is public. Do not put here any private DataRobot or customer's data, code, datasets, model artifacts, .etc.
RATIONAL
When creating a new custom model, the action maps the TARGET_TYPE values from ModelSchema to values that are expected from the API. This done via MODEL_TARGET_TYPE_MAP in dr_client.py.
The Type map was missing a mapping for Anomaly Detection models. Thus, when using Anomaly Detection as the target type no value was passed to the API leading to an error.
CHANGES
CAUTION: changing any of the checkbox states will immediately terminate a previous run that is in progress.