Online Pattern Recognition