Pattern recognition problems