Code Monkey home page Code Monkey logo

paican's Introduction

Paican

Tensorflow 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.

Installation

python setup.py install

Requirements

  • tensorflow (>=1.4)
  • sklearn (only for evaluation)

Data

Each of the dataset folders consists of the following files:

  • A.mtx - the adjacency matrix in scipy's sparse csr_matrix format
  • X.mtx - the attribute matrix in scipy's sparse csr_matrix format
  • feature_to_index.npy - a dictionary mapping a feature label to index (e.g. 'neurology' -> 5)
  • node_to_index.npy - a dictionary mapping a node label (e.g name of a person or paper ID) to index
  • z.npy - ground truth clusters if available
  • label_to_cluster.npy - a dictionary mapping a label (e.g. journal, party) to cluster index

Demo

  • See the notebook example.ipynb for a simple demo.
  • Visit our website for an interactive plot that shows the inferred clustering on a subset of the Amazon dataset.

Cite

Please cite our paper if you use this code in your own work.

paican's People

Contributors

abojchevski avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.