Giter Site home page Giter Site logo

structuralentropy's Introduction

StructuralEntropy

Structural Entropy algorithm in Python

process

2021-3-1

  1. 完成二维结构熵算法,但是划分结果与预期不一致。

2021-3-2

  1. get_real_network可以正确构建graph模型。
  2. cut_set可以正确构建只包含两个节点的所有社区。
  3. root成功创建,第一层节点(每个节点对应图结点)成功创建。
  • 找到错误所在: 在于TwoCommunity类和TwoID类的__hash__和__eq__逻辑错误, 对于一个TwoCommunity对象或TwoID对象,它们存储了两个社区, 判断它们相等的逻辑应该考虑到不同顺序的社区有可能表示的是同一个集合。 例如t1 = {comi, comj},t2 = {comj, comi},t1和t2的hash值应当是 相等的,并且判断t1和t2也应该是相等的。

2021-3-5

  1. 完成三维结构熵极小化算法。

structuralentropy's People

Contributors

wangyuxiang8 avatar josephwhang avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

jeshy

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.