Cara Kerja Pattern Recognition