{"id":15905966,"url":"https://github.com/lucacappelletti94/right_laplacian_node2vec","last_synced_at":"2025-04-02T22:42:47.191Z","repository":{"id":98555804,"uuid":"485773671","full_name":"LucaCappelletti94/right_laplacian_node2vec","owner":"LucaCappelletti94","description":"Experiments evaluating the performance of Right Laplacian weighting in Node2Vec sampling.","archived":false,"fork":false,"pushed_at":"2023-03-30T13:25:43.000Z","size":15585,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T13:13:49.159Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LucaCappelletti94.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-04-26T12:20:44.000Z","updated_at":"2022-06-26T15:05:20.000Z","dependencies_parsed_at":"2024-10-28T10:47:58.386Z","dependency_job_id":null,"html_url":"https://github.com/LucaCappelletti94/right_laplacian_node2vec","commit_stats":{"total_commits":35,"total_committers":1,"mean_commits":35.0,"dds":0.0,"last_synced_commit":"bf530017ca613cb9e9cd0fffaed4c9533983d05d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Fright_laplacian_node2vec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Fright_laplacian_node2vec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Fright_laplacian_node2vec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Fright_laplacian_node2vec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LucaCappelletti94","download_url":"https://codeload.github.com/LucaCappelletti94/right_laplacian_node2vec/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246905830,"owners_count":20852818,"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-06T13:20:22.810Z","updated_at":"2025-04-02T22:42:47.166Z","avatar_url":"https://github.com/LucaCappelletti94.png","language":"Jupyter Notebook","readme":"# Degree Normalization Node2Vec\nExperiments evaluating the performance of Degree Normalization weighting in Node2Vec sampling.\n\n## Running the experiments\nTo run the experiments, you need to clone the repository, install the dependencies and execute the `run.py` python script.\n\n### Clone the repository\nTo clone the repository run:\n\n```bash\ngit clone https://github.com/LucaCappelletti94/right_laplacian_node2vec\n```\n\n### Installing the dependencies\nAfter having cloned the repository, navigate in the directory and to install the dependecies, just run:\n\n```bash\npip install pip -U\npip install -r requirements.txt\n```\n\n### Running the experiment\nTo retrieve the required datasets and run the experiment, execute the following command from your python shell:\n\n```bash\npython3 run.py\n```\n\nThe runtime on a normal desktop computer is about 1-2 days.\n\nAll of our results are available in the [`right_laplacian_experiments.csv` document here](https://github.com/LucaCappelletti94/right_laplacian_node2vec/blob/main/right_laplacian_experiments.csv).\n\n### Visualizing the results\nThe barplots results can be visualized by running the snipped in the [visualization jupyter notebook](https://github.com/LucaCappelletti94/right_laplacian_node2vec/blob/main/notebooks/Barplots%20visualization.ipynb):\n\n```python\nimport pandas as pd\nfrom barplots import barplots\n\n_ = barplots(\n    pd.read_csv(\"right_laplacian_experiments.csv\"),\n    groupby=[\"evaluation_type\", \"normalization_name\", \"unbalance\"],\n)\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucacappelletti94%2Fright_laplacian_node2vec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucacappelletti94%2Fright_laplacian_node2vec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucacappelletti94%2Fright_laplacian_node2vec/lists"}