pattern recognition and machine learning solutions