Skip to content

rel-amazon: user LTV (Regression)

This runner now materializes the official rel-amazon tables through the relbench Python library and trains on the library-aligned temporal split instead of the old S3 snapshot flow.

from relbench_amazon_user_ltv import run_rel_amazon_user_ltv

df_val, df_holdout, holdout_mae, n_features, materialized, target = run_rel_amazon_user_ltv()
print(materialized)
print(target, holdout_mae, n_features, len(df_val), len(df_holdout))

Current implementation:

Current RelBench-aligned dates:

  • validation cut date: 2015-10-01
  • holdout cut date: 2016-01-01
  • lookback start: 2008-01-01

Interactive Runner