normalize both labeled and unlabeled data