The output weight code could be put into ``_check_reg_target``, since it is repeated in all  regression metrics.