Update dog_classification.py

Added several functions regarding CPA