Skip to main content
. 2020 Jan 6;20(1):320. doi: 10.3390/s20010320

Table 1.

Algorithm details of the proposed method.

Algorithm: TLADA
Require: source data Xs; target data Xt; minibatch size m; critic training step n; learning rate for domain critic a1; learning rate for classification and feature learning a2;
  1. Initialize feature extractor, domain critic, classifier with random weights θg,θw,θc

  2. repeat

  3. Sample minibatch xis,yiti=1m,xiti=1m from Xs and Xt

  4. for t=1,,n do

  5. hsfgxs,htfgxt

  6. sample h as the random points along straight lines between hs and ht

  7. h^hs,ht,h

  8. θwθw+α1θwLwdxs,xtρLgradh^

  9. end for

  10. θcθcα2θcLcxs,ys

  11. θgθgα2θgLxs,ys+λ1Lwdxs,xt+λ2Ltrixs,xt

  12. until θg,θw,θc converge