TSDBench / Store_Sales /tasks /general_task.yaml
MaxKJC's picture
Upload folder using huggingface_hub
0a665df verified
Raw History Blame Contribute Delete
2.95 kB
# ============================================================
# Store_Sales_protocol/tasks/general_task.yaml
# ============================================================
# Purpose:
# - This file contains only processing rules shared by all tasks and naming conventions.
# Recommended reading order for each task.yaml:
# 1) Start with sample in each task.yaml: what constitutes one sample.
# 2) Read inputs: what the model can access at inference time.
# 3) Read prediction: what the model should predict.
# 4) Finally, read leakage: which columns must be excluded from model inputs.
# ============================================================
general_defaults:
# ------------------------------------------------------------
# Default input processing rules.
# Note: these are processing defaults, not input field defaults.
# These rules specify how to process time series, tabular, or graph inputs when a task uses them,
# but do not automatically add any input fields to a task.
# ------------------------------------------------------------
input_processing:
tabular_static:
# Unique identifier column for Store Sales nodes (one node = one (store_nbr, family) pair).
# This column is used only to join labels, splits, and metadata.
id_column: episode_id
time_series:
# Store Sales time series uses timestamp as the time axis and episode_id values as columns.
timestamp_column: timestamp
id_column: episode_id
timezone: UTC
sampling:
# The Store Sales protocol organizes time series at daily resolution by default.
native_rate: 1day
# By default, the task resolution matches the native resolution.
task_rate: 1day
# Aggregation method when task_rate is coarser than native_rate.
downsample_method: mean
# Interpolation method when task_rate is finer than native_rate (generally not recommended).
upsample_method: ffill
graph:
# The Store Sales relation graph is static by default.
directed: false
weighted: false
# ------------------------------------------------------------
# Standard split names.
# Use these standard values in splits.csv to avoid mixing train/val/valid/dev.
# ------------------------------------------------------------
split_names:
train: train
validation: validation
test: test
# ------------------------------------------------------------
# Inheritance rules.
# A task can set inherit_general: true to inherit this file's processing defaults.
# Note: inheritance only affects default rules such as input_processing / split_names,
# and does not automatically inherit any specific input fields.
# ------------------------------------------------------------
inheritance:
default_inherit_general: true
merge_strategy: recursive_override