commented classification_ghosts.py