@@ -43,10 +43,10 @@ class CDAN(BaseAdaptDeep):
4343 .. math::
4444
4545 \min_{\phi, F} & \; \mathcal{L}_{task}(F(\phi(X_S)), y_S) -
46- \lambda \\ left( \log(1 - D(\phi(X_S) \\ bigotimes F(X_S)) + \\ \\
47- \log(D(\phi(X_T) \\ bigotimes F(X_T)) \\ right) \\ \\
48- \max_{D} & \; \log(1 - D(\phi(X_S) \\ bigotimes F(X_S)) + \\ \\
49- \log(D(\phi(X_T) \\ bigotimes F(X_T))
46+ \lambda \\ left( \log(1 - D(\phi(X_S) \\ otimes F(X_S)) +
47+ \log(D(\phi(X_T) \\ otimes F(X_T)) \\ right) \\ \\
48+ \max_{D} & \; \log(1 - D(\phi(X_S) \\ otimes F(X_S)) +
49+ \log(D(\phi(X_T) \\ otimes F(X_T))
5050
5151 Where:
5252
@@ -55,7 +55,7 @@ class CDAN(BaseAdaptDeep):
5555 - :math:`\phi, F, D` are respectively the **encoder**, the **task**
5656 and the **discriminator** networks
5757 - :math:`\lambda` is the trade-off parameter.
58- - :math:`\phi(X_S) \\ bigotimes F(X_S)` is the multilinear map between
58+ - :math:`\phi(X_S) \\ otimes F(X_S)` is the multilinear map between
5959 the encoded sources and the task predictions.
6060
6161 In CDAN+E, an entropy regularization is added to prioritize the
@@ -65,15 +65,15 @@ class CDAN(BaseAdaptDeep):
6565 .. math::
6666
6767 \min_{\phi, F} & \; \mathcal{L}_{task}(F(\phi(X_S)), y_S) -
68- \lambda \\ left( \log(1 - W_S D(\phi(X_S) \\ bigotimes F(X_S)) + \\ \\
69- W_T \log(D(\phi(X_T) \\ bigotimes F(X_T)) \\ right) \\ \\
70- \max_{D} & \; \log(1 - W_S D(\phi(X_S) \\ bigotimes F(X_S)) + \\ \\
71- W_T \log(D(\phi(X_T) \\ bigotimes F(X_T))
68+ \lambda \\ left( \log(1 - W_S D(\phi(X_S) \\ otimes F(X_S)) +
69+ W_T \log(D(\phi(X_T) \\ otimes F(X_T)) \\ right) \\ \\
70+ \max_{D} & \; \log(1 - W_S D(\phi(X_S) \\ otimes F(X_S)) +
71+ W_T \log(D(\phi(X_T) \\ otimes F(X_T))
7272
7373 Where:
7474
75- - :math:`W_S = 1+\exp{-\\ text{entropy }(F(X_S))}`
76- - :math:`\\ text{entropy }(F(X_S)) = - \sum_{i < C} F(X_S)_i \log(F(X_S)_i)`
75+ - :math:`W_S = 1+\exp^ {-\\ text{ent }(F(X_S))}`
76+ - :math:`\\ text{ent }(F(X_S)) = - \sum_{i < C} F(X_S)_i \log(F(X_S)_i)`
7777 with :math:`C` the number of classes.
7878
7979 .. figure:: ../_static/images/cdan.png
0 commit comments