strawlab / pyopy

Python bindings to interesting matlab libraries for data analysis
Other
86 stars 16 forks source link

Timeouts #11

Open sdvillal opened 9 years ago

sdvillal commented 9 years ago

Some computations in HCTSA can become unexpectedly slow. We could add a timeout parameter to avoid these dragging down all the computation.

It seems to me that timeouts are not simple to handle in single-threaded matlab-land, if possible at all. We could go for python (signal or multiprocessing + kill matlab session). Some links from google:

oct2py already provides a session-wide timeout

benfulcher commented 9 years ago

Not such a big deal in my experience, I've not noticed it happen in a problematic way -- some operations scale very badly with time-series length, but this is more about problem-checking the algorithms rather than enforcing a time-out I think?