Pattern recognition and big data