Pattern Recognition Principles