Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The accuracy of nso decreases after disrupting the order of samples in the source and target domains #2

Open
puppnn opened this issue Aug 12, 2022 · 0 comments

Comments

@puppnn
Copy link

puppnn commented Aug 12, 2022

Hello, I am very interested in the nso method you proposed, but in the process of reproduction, I found that if I shuffle the samples of the source and target domains, or reorder the samples of either domain:
ids = randperm(size(Xs,1)); Xs=Xs(ids,:); Ys = Ys(ids,:); idt = randperm(size(Xt,1)); Xt=Xt(idt,:); Yt = Yt(idt,:);
This will lead to a significant drop in the accuracy of the nso method, or even failure. Theoretically, the data order of the source and target domains cannot affect the results of domain adaptation.
I found that the accuracy of the nso method is almost 100% when the label order of the target domain is consistent with the source domain label order.
This problem has been bothering me for a while, I don't know what is the reason for this, I hope your reply, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant