skada.CORAL
- skada.CORAL(base_estimator=None, reg='auto', assume_centered=False)[source]
CORAL pipeline with adapter and estimator.
See [5] for details.
- Parameters:
- base_estimatorobject, optional (default=None)
The base estimator to fit on the target dataset.
- reg'auto' or float, default="auto"
The regularization parameter of the covariance estimator. Possible values:
None: no shrinkage).
'auto': automatic shrinkage using the Ledoit-Wolf lemma.
float between 0 and 1: fixed shrinkage parameter.
- assume_centered: bool, default=False
If True, data are not centered before computation.
- Returns:
- pipelinePipeline
Pipeline containing CORAL adapter and base estimator.
References
[5]Baochen Sun, Jiashi Feng, and Kate Saenko. Correlation Alignment for Unsupervised Domain Adaptation. In Advances in Computer Vision and Pattern Recognition, 2017.