pattern recognition and machine learning projects pattern recognition artificial intelligence 171 design patterns