Yahoo CEO Marissa Mayer said the firm is going through a “transformation” seeking to return it to “greatness.”