Lecture 4. Unsupervised Learning and Anomaly Detection