Feature engineering
Decorate a feature vector with enriched features specific to the deployed model
Objective
Example & DSL attributes
feature engineering:
name: retailProfilingFeatures
versioned: true
features:
as values:
- location_code
- store_id
compute:
spend_ratio:
scripting:
macro:
expression: 1 - spend/avg_spend
language: js
variables:
avg_spend: 133.78
age:
function:
age binning:
source field: date_of_birth
day:
function:
day-of-week transform:
source field: dateTop level attributes
Attribute
Description
Data Type
Required
Attributes schema
Attribute
Description
Data Type
Required
Supported feature engineering
As value
Example
Expression based
Example
Custom Plugins
Example
Available options
Versioning
Last updated