Skip to content

Every Node in a Graph has a k.core value, which shows to which k.subset or clique it belongs to. It is calculated based on decomposition.

Notifications You must be signed in to change notification settings

shima-aflatounian/K-core-Networks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Learning K.core calculation for graphs

  • K.core introduction In graph theory, the k-core of a graph refers to a subgraph in which every node has a degree of at least k. In other words, the k-core represents the maximal connected subgraph in which each node is connected to at least k other nodes within the subgraph.
K core sample

K-cores are useful for understanding the structural properties of a graph and identifying densely connected regions within a network. They have various applications in different domains, including social network analysis, biology, and neuroscience.

In the context of brain networks, studying k-cores can help identify highly interconnected regions or "hubs" that play crucial roles in information processing and communication. These k-core nodes are often considered influential because they have a strong influence on the overall connectivity and dynamics of the brain network.

  • What is the problem in this repository? First, we want to calculate & visualize kcore values of nodes & then determine the range for the core of a sample graph, specifically the minimum and maximum values of the k-core. The notebook "k_core_range.ipynb" visualizes an Erdos Reyni graph, where each node represents its core value. The file then generates 20 versions of the sample network and demonstrates that they differ in their k-core range. Since these graphs are randomly generated, each version possesses distinct topological characteristics. This distinction becomes significant when working with these graphs and calculating an average over this range.

The "GIT_RandomNetworkProperties.ipynb" displays the k-core values of graph samples, along with other topological characteristics such as correlation, average degree, and clustering coefficient, in a tabular format.

  • What comes next? We can identify influential nodes in a network by grouping them based on their k-core values and selecting those belonging to the highest k-core subset. Additionally, we demonstrate the role these nodes play in the cascading failure of a network.

About

Every Node in a Graph has a k.core value, which shows to which k.subset or clique it belongs to. It is calculated based on decomposition.

Topics

Resources

Stars

Watchers

Forks