Giter Site home page Giter Site logo

venn1998 / complexnetworks Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 10.88 MB

Simple projects to understand concepts from the Complex Network course at UOC: Structural Descriptors, Models of Complex Networks, Community Detection, Dynamics in CN (Epidemic simulation)

Jupyter Notebook 60.23% HTML 39.77%
complex-networks networkx barabasi-albert-model community-detection epidemic-simulations erdos-reyni-graphs igraph-networks scale-free-networks sis-model configuration-model watts-strogatz-model

complexnetworks's Introduction

ComplexNetworks

Simple projects to understand concepts from the Complex Network course at UOC

  • In 1_StructuralDescriptors are investigated different structural descriptors for many networks provided by the professor (in the A1-networks folder).
    After this, to analyze the degree distribution of the networks, we plot the Probability Distribution Function, Cumulative Distribution Function and Complementary CDF for each network, in lin-lin or log-log scale, depending on the properties of the degree distribution.

  • In 2_Models I implemented many generators of complex networks models:

    • Erdös-Rényi (ER) networks, either G(N,K) or G(N,p)
    • Watts-Strogatz (WS) small-world model
    • Barabási & Albert (BA) preferential attachment model
    • Configuration Model (CM)

    There's also an estimation of the exponent for the empirical degree distributions of BA and CM (SF).

  • In 3_CommunityDetection I tried many community detection algorithms on different networks. Then I compared the results obtained with some reference clusterings uisng as metrics Jaccard Index, Normalized Mutual Information (arithmetic normalization), and Normalized Variation of Information.

  • In 4_Dynamics I implemented a Monte Carlo simulation of an epidemic spreading dynamics in complex networks, using the SIS model in which each node represents an individual which can be in two possible state: Susceptible (S), i.e. healthy but can get infected; Infected (I), i.e. has the disease and can spread it to the neighbors.
    I calculated the fraction of infected nodes, ρ, in the stationay state, as a function of the infection probability of the disease β, for different values of the recovery probability μ. This was done on different undirected networks (e.g. Erdös-Rényi, scale-free, real), different sizes, average degrees, exponents, etc.
    Moreover, the ρ(β) result obtained from Monte Carlo simulations was compared with the theoretical prediction provided by the Microscopic Markov Chain Approach (MMCA) model.

complexnetworks's People

Contributors

venn1998 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.