Self-Supervised Learning for Anomaly Detection in Python: Part 2