Modified   MINE/04_pattern_recognition.py