Align source embeddings to an unlabeled target domain with CORAL
Source:R/domain-adapt.R
domainAdapt.RdFit CORAL only with training-source observations and an explicitly designated unlabeled target adaptation set. Held-out target validation and test observations must not be supplied. CORAL matches first- and second-order statistics; it does not establish causal, class-conditional, fairness, or clinical invariance.
Usage
domainAdapt(
source,
target,
method = c("coral"),
regularization = 1e-06,
return_model = TRUE
)