skada.deep.losses.deepcoral_loss
- skada.deep.losses.deepcoral_loss(features, features_target, assume_centered=False)[source]
- Estimate the Frobenius norm divide by 4*n**2
for DeepCORAL method [12].
- Parameters:
- featurestensor
Source features.
- features_targettensor
Target features.
- assume_centered: bool, default=False
If True, data are not centered before computation.
- Returns:
- lossndarray
The loss of the method.
References
[12]Baochen Sun and Kate Saenko. Deep coral: Correlation alignment for deep domain adaptation. In ECCV Workshops, 2016.