calculated_cols

Description

This section defines all columns to be calculated. It details the formulae and operations needed to derive new data points from existing columns, which are crucial for subsequent analysis and prediction stages.

Steps impacted

Training

Example

# This section allows to create features from existing datasets.
calculated_cols:
#   -------------------------------------------------------
#   ----------------------DATE ATTRIBUTE-------------------
#   -------------------------------------------------------
  ajout_dates:
    method: date_attributes
    global: true
    input_columns:
    - receipt_date
    output_columns:
    - month
    - week
    - year
    - day
    - weekday
    # To use with lightgbm and linear_tree: true
    # - ordinal

Last updated