annoviko / pyclustering

pyclustering is a Python, C++ data mining library.
https://pyclustering.github.io/
BSD 3-Clause "New" or "Revised" License
1.18k stars 248 forks source link

Request: react to interrupt signals #685

Open david-cortes opened 2 years ago

david-cortes commented 2 years ago

The algorithms in this package do not seem to react to interrupt signals (e.g. through the command kill in linux or through the jupyter interrupt button). Would be nice if they could detect interruptions and terminate earlier, throwing an error if they receive any such signal - especially since in this package it's very easy to engage into some operation that would not scale to the amount of data passed as input, which then leaves only the option of killing the process to terminate.