{"id":15575645,"url":"https://github.com/virresh/viking","last_synced_at":"2025-07-07T14:05:18.524Z","repository":{"id":122371081,"uuid":"338825887","full_name":"virresh/viking","owner":"virresh","description":"Adversarial Attack on Network Embeddings via Supervised Network Poisoning","archived":false,"fork":false,"pushed_at":"2021-02-14T14:41:25.000Z","size":3659,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T19:39:07.382Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/virresh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-14T14:39:34.000Z","updated_at":"2023-09-18T19:40:25.000Z","dependencies_parsed_at":"2024-06-07T09:33:36.150Z","dependency_job_id":null,"html_url":"https://github.com/virresh/viking","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virresh%2Fviking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virresh%2Fviking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virresh%2Fviking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virresh%2Fviking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/virresh","download_url":"https://codeload.github.com/virresh/viking/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248077337,"owners_count":21043940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T18:40:07.733Z","updated_at":"2025-04-09T17:31:33.533Z","avatar_url":"https://github.com/virresh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VIKING\n\nCode for paper accepted at PAKDD 2021,\nVIKING: Adversarial Attack on Network Embeddings via Supervised Network Poisoning\nAuthors: Viresh Gupta, Tanmoy Chakraborty\nThis repository has two main components:\n\n1. code - This folder contains the code for generating VIKING and VIKING^s perturbations. Additionally it also contains sample implementations of baselines and evaluation methods for node classification and link prediction tasks.\n\n2. data - This folder contains the three datasets used for reporting the given results.\n\n### Requirements for running the code\n\nMake sure you have installed node2vec and LINE binaries and they are avalaible on path.\n(i.e `node2vec` and `line` should not print error on terminal).\nIf you face errors while running line, make sure you have all required c-libraries on path.\nAlso ensure `pytorch` and `dgl` library is installed.\n\n\n### Running instructions\nFrom the root directory of this repository, call main.py as follows:\n```bash\npython code/simple_all.py cora lp\n```\n\nSince the results are quite long, it's ideal to save output to a file and later on tail the file for required output.\n\n### Acknowledgements\nSome code has been borrowed from previous research work available at https://github.com/abojchevski/node_embedding_attack\nThe same has been marked in the code files where applicable.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirresh%2Fviking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvirresh%2Fviking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirresh%2Fviking/lists"}