Skip to main content
. Author manuscript; available in PMC: 2025 Jun 1.
Published in final edited form as: Biomed Signal Process Control. 2024 Feb 14;92:106061. doi: 10.1016/j.bspc.2024.106061

ALGORITHM II.

The Main Procedure of our method (gda)

Input: Xs, Xt, Y
Initialization: iteration=250, batch size =8, learning rate=0.01, momentum=0.9
Output: Losstotal
For i=1:iteration do
  1. Sample n images from source domain Xs
  2. Sample n images from target domain Xt
  3. Take source and target samples into general subspace
  4. Take source and target general features into domain-specific subspaces
  5. Take source domain-specific features into source domain-specific discriminator
  6. Use source and target domain-specific features to calculate low-rank loss
  7. Weigh the source classifier loss by considering low-rank loss
  8. Use target domain-specific features to calculate target discriminator loss
  9. Update total loss
end for