Does hastime=True make a CatBoost time-series experiment leakage-free by itself?
Classic MLLevel: IntermediateCatBoost · Training parameters
Does has_time=True make a CatBoost time-series experiment leakage-free by itself?
Hints
- Internal permutation is only one possible leakage path.
- Feature availability and validation chronology remain your responsibility.
Answer
No. It preserves input order instead of the documented internal permutations. You must still sort timestamps, build only past-available features, and use temporal validation; the flag cannot repair future information already in a column.
Source and licence: CatBoost · Training parameters · Apache-2.0 · answer: Quantoros editorial