BipartiteSBM
A Bayesian model+algorithm for community detection in bipartite networks
Install / Use
/learn @junipertcy/BipartiteSBMREADME
bipartiteSBM
.. image:: https://img.shields.io/badge/contact-@oneofyen-blue.svg?style=flat :target: https://twitter.com/oneofyen :alt: Twitter: @oneofyen .. image:: https://img.shields.io/badge/license-GPL-green.svg?style=flat :target: https://github.com/junipertcy/bipartiteSBM/blob/master/LICENSE :alt: License .. image:: https://travis-ci.org/junipertcy/bipartiteSBM.svg?branch=master :target: https://travis-ci.org/junipertcy/bipartiteSBM :alt: Build Status
This code and data repository accompanies the paper
- Community Detection in Bipartite Networks with Stochastic Blockmodels,
Tzu-Chi Yen_ andDaniel B. Larremore_, Physical Review E 102, 032309, (2020).
Read it on: [arXiv] or [PRE].
The code is tested on Python>=3.6. For questions, please email tzuchi at tzuchi.yen@colorado.edu, or via the issues_!
Introduction
The bipartiteSBM implements a fast community inference algorithm for the bipartite Stochastic Block Model (biSBM)
using the MCMC sampler_ or the Kernighan-Lin algorithm_ as the core optimization engine.
It searches through the space with dynamic programming, and estimates the number of communities
(as well as the partition) for a bipartite network.
.. figure:: https://wiki.junipertcy.info/images/1/10/Det_k_bisbm-logo.png :align: center
The bipartiteSBM helps you infer the number of communities in a bipartite network. (det_k_bisbm is a deprecated name for the same library.)
The bipartiteSBM utilizes the Minimum Description Length principle to determine a point estimate of the
bipartite partition that best compresses the model and data. In other words, we formulate priors and maximize the
corresponding posterior likelihood function.
Several test examples are included. Read on in the docs_!
Documentation
- The project documentation is at https://docs.netscied.tw/bipartiteSBM/index.html.
- For installation instructions, see https://docs.netscied.tw/bipartiteSBM/usage/installation.html. You'll need
CMake_ andBoost_ libraries, and a compiler that supports C++14.
.. _MCMC sampler: https://github.com/junipertcy/bipartiteSBM-MCMC
.. _Kernighan-Lin algorithm: https://github.com/junipertcy/bipartiteSBM-KL
.. _CMake: https://cmake.org/
.. _Boost: https://www.boost.org/
.. _Tzu-Chi Yen: https://junipertcy.info/
.. _Daniel B. Larremore: https://larremorelab.github.io/
.. _arXiv: https://arxiv.org/abs/2001.11818
.. _PRE: https://journals.aps.org/pre/abstract/10.1103/PhysRevE.102.032309
.. _issues: https://github.com/junipertcy/bipartiteSBM/issues
.. _docs: https://docs.netscied.tw/bipartiteSBM/index.html
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
