lazypredict icon indicating copy to clipboard operation
lazypredict copied to clipboard

feat(timeout): add timeout option for lazy estimators

Open BenTenmann opened this issue 1 year ago • 2 comments

In some cases, some models will take much longer than others to fit. This can cause freezes, which is annoying. Here, I add an optional parameter for timeout, such that we can skip certain models if they run for too long.

BenTenmann avatar Jan 08 '23 19:01 BenTenmann

Good idea, but will not work on Windows: https://stackoverflow.com/questions/52779920/why-is-signal-sigalrm-not-working-in-python-on-windows

jlplenio avatar Feb 17 '23 15:02 jlplenio

@BenTenmann Can you add documentation also for the same. Also, is this working on windows?

shankarpandala avatar Feb 21 '23 14:02 shankarpandala