Open neenerrh opened 3 years ago
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 https://github.com/houchengbin/OpenANE/blob/144b882dffc6aa68c0a482383883a6a97013371b/src/main.py#L25 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.
Thank you very much. I will give it a try
Hello. is there any tool for searching for the optimal parameters or does it have to be done manually