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

Semi-supervised correspondence #4

Open
Andresd45 opened this issue Jan 18, 2022 · 1 comment
Open

Semi-supervised correspondence #4

Andresd45 opened this issue Jan 18, 2022 · 1 comment

Comments

@Andresd45
Copy link

Hi,

Is it possible to run the code including some one-to-one correspondece?, it is mention in the paper but I can no see how to do it with the code.

Thanks!

@caokai1073
Copy link
Owner

caokai1073 commented Jan 19, 2022

Hi,

Thanks for your interest. Semi-supervised mode is not involved in our code but easy to implement.
For example, if cell i in dataset X and cell j in dataset Y have correspondence, we can initialize matching matrix $F$ in Prime_Dual function with corresponding $F_{ij}$ as 1 and others still as 0 (line 248 in UnionCom.py). Besides, after updating F in line 295, $F_{ij}$ also need to be modified as 1 instead of new updated value, which means we need to add F[i][j]=1 to line 296 in UnionCom.py.

Best,
Kai

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

2 participants