Probabilistic machine learning for pattern recognition and design exploration