aimclub / FEDOT

Automated modeling and machine learning framework FEDOT
https://fedot.readthedocs.io
BSD 3-Clause "New" or "Revised" License
627 stars 86 forks source link

Allow Composer to limit the total time of chain execution #204

Closed J3FALL closed 3 years ago

J3FALL commented 3 years ago

In some cases, sklearn model.fit freezes and does not respond indefinitely. Therefore, it significantly increases the total time of composing. It would be useful to implement an additional feature for GPOptimizer that can stop the execution of a given individ (chain in population) if it works too much time (for instance, more than 5% of max_lead_time).

Subtasks:

Useful links: https://www.freecodecamp.org/news/two-hours-later-and-still-running-how-to-keep-your-sklearn-fit-under-control-cc603dc1283b/ https://stackoverflow.com/questions/366682/how-to-limit-execution-time-of-a-function-call-in-python/37648512#37648512

J3FALL commented 3 years ago

WA were provided in #215 ?