{"id":13483571,"url":"https://github.com/abojchevski/paican","last_synced_at":"2025-03-27T14:31:27.711Z","repository":{"id":162368846,"uuid":"128075556","full_name":"abojchevski/paican","owner":"abojchevski","description":"Implementation of \"Bayesian Robust Attributed Graph Clustering: Joint Learning of Partial Anomalies and Group Structure\".","archived":false,"fork":false,"pushed_at":"2020-05-05T19:18:25.000Z","size":7332,"stargazers_count":24,"open_issues_count":0,"forks_count":13,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-30T17:48:01.256Z","etag":null,"topics":["anomalies","bayesian","clustering","community-detection","graphs","robust","tensorflow"],"latest_commit_sha":null,"homepage":"https://www.kdd.in.tum.de/paican","language":"Python","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/abojchevski.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}},"created_at":"2018-04-04T14:38:05.000Z","updated_at":"2023-12-09T05:16:26.000Z","dependencies_parsed_at":"2023-10-20T16:17:00.179Z","dependency_job_id":null,"html_url":"https://github.com/abojchevski/paican","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/abojchevski%2Fpaican","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abojchevski%2Fpaican/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abojchevski%2Fpaican/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abojchevski%2Fpaican/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abojchevski","download_url":"https://codeload.github.com/abojchevski/paican/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245863098,"owners_count":20684788,"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":["anomalies","bayesian","clustering","community-detection","graphs","robust","tensorflow"],"created_at":"2024-07-31T17:01:12.907Z","updated_at":"2025-03-27T14:31:25.420Z","avatar_url":"https://github.com/abojchevski.png","language":"Python","funding_links":[],"categories":["Factorization"],"sub_categories":[],"readme":"# Paican\n\u003cimg src=\"https://www.in.tum.de/fileadmin/w00bws/daml/paican/paican.png\" width=\"700\"\u003e\n\nTensorflow implementation of the method proposed in the paper: \"Bayesian Robust Attributed Graph Clustering: Joint Learning of Partial Anomalies and Group Structure\", Aleksandar Bojchevski and Stephan Günnemann, AAAI 2018.\n\n## Installation\n```bash\npython setup.py install\n```\n\n## Requirements\n* tensorflow (\u003e=1.4, \u003c=2.0)\n* sklearn (only for evaluation)\n\nNote: If you are using tensorflow \u003e=2.0 you can stull run the above code by replacing the tensorflow import with\n```\nimport tensorflow.compat.v1 as tf\ntf.disable_v2_behavior()\n```\nand changing `tf.contrib.distributions` to `tf.distributions`. \n\n## Data\nEach of the dataset folders consists of the following files:\n\n* A.mtx - the adjacency matrix in scipy's sparse csr_matrix format\n* X.mtx - the attribute matrix in scipy's sparse csr_matrix format\n* feature_to_index.npy - a dictionary mapping a feature label to index (e.g. 'neurology' -\u003e 5)\n* node_to_index.npy - a dictionary mapping a node label (e.g name of a person or paper ID) to index\n* z.npy - ground truth clusters if available\n* label_to_cluster.npy - a dictionary mapping a label (e.g. journal, party) to cluster index\n\n## Demo\n* See the notebook example.ipynb for a simple demo.\n* Visit [our website](https://www.kdd.in.tum.de/paican) for an interactive plot that shows the inferred clustering on a subset of the Amazon dataset.\n\n## Cite\nPlease cite our paper if you use this code in your own work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabojchevski%2Fpaican","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabojchevski%2Fpaican","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabojchevski%2Fpaican/lists"}