Month: November 2015

Fakescreen (screen manager without the need for terminal devices, works with nodev)

As part of the effort to make my server more secure I’m moving most of my activities to separate chroot() jails. It’s going to become part of several bigger changes this year. I encountered a little issue though with software which I usually run using the screen command. As you […]

Constrained K-Means implementation in Python

The following is just a Python implementation of the algorithm described in the following paper: Bradley PS, Bennett KP, Demiriz A (2000) Constrained K-Means Clustering. Microsoft Research. Available: http://research.microsoft.com/pubs/69796/tr-2000-65.pdf To cut the long story short, this algorithm allows to execute K-Means with a user-defined minimum number of points belonging to […]