Timeout for cross_validation
Open
question
- Dominant language
- Python
- Stars
- 20.4k
- Forks
- 4.6k
- Avg merge
- 19h 52m
- Merged PRs (30d)
- 1
Description
Would it be feasible a timeout management inside cross validation?
Running prophet in spark for thousands of parallel group of timeseries, i see that for certain groups cross validation is quite expensive
So the idea to set a timeout for each forecast, to be handled by cross validation i.e.
```
try:
....
df_cv = cross_validation(model, cutoffs=dt_ct, horizon='14 days' , parallel=None,
timeout= '60 sec')
except Exception as e:
use default params
```
if cross_validation takes more than '60 sec' the exception is handled
is there any trick to mimic this ?
thanks
Contributor guide
Assessment
This issue has not been assessed yet.