Pattern Prediction Machine Learning