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

parameter searching #7

Open
neenerrh opened this issue Jan 28, 2021 · 2 comments
Open

parameter searching #7

neenerrh opened this issue Jan 28, 2021 · 2 comments

Comments

@neenerrh
Copy link

Hello. is there any tool for searching for the optimal parameters or does it have to be done manually

@houchengbin
Copy link
Owner

Hi. You may write a .sh file to conduct the grid search.
An example of that could be https://github.com/houchengbin/GloDyNE/blob/master/bash/NE_AS733.sh
And to run the .sh file, please follow https://github.com/houchengbin/GloDyNE#advanced-for-batch-testing

What you may need to modify are those parameters specified in

parser = ArgumentParser(formatter_class=ArgumentDefaultsHelpFormatter, conflict_handler='resolve')

For example, to search "ABRW-beta" for the method presented in our paper, you could write the following commands in a .sh file.

python src/main.py --method abrw --task lp_and_nc --emb-file emb/cora_abrw_emb --save-emb --ABRW-beta 0.1
python src/main.py --method abrw --task lp_and_nc --emb-file emb/cora_abrw_emb --save-emb --ABRW-beta 0.2
.
.
.
python src/main.py --method abrw --task lp_and_nc --emb-file emb/cora_abrw_emb --save-emb --ABRW-beta 0.9

Let me know if you have further problems.

@neenerrh
Copy link
Author

Thank you very much. I will give it a try

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