Tomek Links
Tomeklink.py allows you to remove the Tomeklinks from your data. Definition of a Tomeklink : http://stats.stackexchange.com/questions/27276/looking-for-an-efficient-algorithm-to-detect-tomek-links
Example of the code (which you get after running TomekLinkTest.py):
Before:
After: