skada.deep.losses.mcc_loss
- skada.deep.losses.mcc_loss(y, T=1, eps=1e-07)[source]
- Estimate the Frobenius norm divide by 4*n**2
for DeepCORAL method [33].
- Parameters:
- ytensor
The output of target domain of the model.
- Tfloat, default=1
The temperature for the scaling.
- epsfloat, default=1e-7
Small constant added to median distance calculation for numerical stability.
- Returns:
- lossndarray
The loss of the method.
References
[33]Ying Jin, Ximei Wang, Mingsheng Long, Jianmin Wang. Minimum Class Confusion for Versatile Domain Adaptation. In ECCV, 2020.