Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Community Detector based on algorithm for community detection using structural and attribute similarities

Project Description
community-detect

Community detection using attribute and structural similarities.

Installation:

pip install community_detect

Dependencies:

NetworkX

Matplotlib

Usage:

Import:

from community_detect import Community

Initialize:

com = Community(alpha_weight = 0.5) #You can add your own value for Alpha

Functions:

Main method: get_communities(Graph, #Your Graph

Vertices, #List of Vertices

Similarity Matrix, #Similarity matrix for attribute similarities (It should be a N X N matrix where N is the number of vertices

Similarity Matrix Type #Types : cosine, euclidean etc

)

Returns a dictionary with each key containing all the nodes in that community
To View Communities : view_communities(Communities, #Output of above function

Graph, #Your Graph

Vertices, #List of Vertices

Similarity Matrix, #Similarity matrix for attribute similarities (It should be a N X N matrix where N is the number of vertices

Similarity Matrix Type #Types : cosine, euclidean etc

)
Release History

Release History

This version
History Node

1.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
community_detect-1.0.0.zip (4.7 kB) Copy SHA256 Checksum SHA256 Source Aug 21, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting