Skip to content

rel-avito: ad CTR (Regression)

This example now materializes rel-avito from the relbench Python library. The local files keep the historical example filenames, but the source of truth is get_dataset("rel-avito", download=True).

from relbench_avito_ad_ctr import run_rel_avito_ad_ctr

df, mae, n_features, materialized, target = run_rel_avito_ad_ctr()
print(materialized)
print(target, mae, n_features, len(df))

Current implementation:

Latest Tested Result

Latest local run from tests/data/relbench/run_reports/relbench_results.json:

  • test MAE: 0.0313
  • test RMSE: 0.0943
  • feature count: 50
  • rows: train 5100, validation 1766, test 1816
  • runtime: 32.4s (2026-04-09T22:24:09Z)

Interactive Runner