Community discovery method based on Louvain algorithm, computer equipment and readable storage medium thereof

A community discovery and computer program technology, applied in the field of data mining, can solve problems such as large amount of calculation, small amount of calculation, unstable performance, etc., and achieve the effect of improving the calculation speed

Pending Publication Date: 2020-04-17
中邮消费金融有限公司
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The advantage of the label propagation algorithm is that it is simple and intuitive to implement, but its accuracy is general and its performance is unstable; the Infomap algorithm has high accuracy but a large amount of calculation; the

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Community discovery method based on Louvain algorithm, computer equipment and readable storage medium thereof
  • Community discovery method based on Louvain algorithm, computer equipment and readable storage medium thereof
  • Community discovery method based on Louvain algorithm, computer equipment and readable storage medium thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The technical solutions of the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments, so that those skilled in the art can better understand and implement the present invention, but the examples cited are not intended to limit the present invention.

[0038] Such as Figure 1-3 As shown, the embodiment of the present invention provides a community discovery method based on Louvain algorithm, which includes the following steps:

[0039] S1: Generate a graph to represent the network structure according to the input data. The graph includes nodes and edges connecting the nodes, and the graph is stored in the data structure;

[0040] S2: Treat each node in the graph as an independent community;

[0041] S3: Perform an inner loop to update the home community of each node;

[0042] S4: Repeat step S3 until the percentage of change in the modularity (ie global modularity) of the graph is less than the first th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a community discovery method based on a Louvain algorithm, computer equipment and a readable storage medium thereof. The method comprises the following steps: S1, generating agraph representing a network structure according to input data, wherein the graph comprises nodes and edges; S2, taking each node of the graph as an independent community; S3, performing inner-layercirculation and updating the affiliated community of each node; S4, repeating the step S3 until the percentage of the modularity change of the graph is less than a first threshold value and the current cycle index is an even number, or the inner-layer cycle index is greater than a second threshold value and the current cycle index is an even number, and ending the inner-layer cycle; S5, performing connectivity check on each community; if the communities are not connected, segmenting the communities into a plurality of connected sub-graphs, and taking each connected sub-graph as an independentcommunity; S6, compressing all the communities, and compressing each community into a node; and S7, inputting the result of the step S6 into the step S2, repeating the steps S3 to S6, and outputtingthe result until the modularity of the graph does not change any more or the percentage of the change is smaller than a third threshold.

Description

Technical field [0001] The present invention relates to the technical field of data mining, in particular to a method for community discovery based on Louvain algorithm, computer equipment and a readable storage medium thereof. Background technique [0002] Complex networks are the abstraction of complex systems. In reality, many complex systems can be described and analyzed by the relevant characteristics of complex networks, such as the World Wide Web and social relations networks. Among them, the nodes in the network represent the individuals in the system, and the edges represent the relationships between individuals. Complex networks have always been a research hotspot in many fields. Among them, the community structure is a common feature in complex networks. Research on communities in the network plays a vital role in understanding the structure and function of the entire network, and can help us analyze and predict The interaction between the elements of the entire netwo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06Q50/00
CPCG06Q50/01
Inventor 伍捷韩柳黄文辉廖健祝大裕
Owner 中邮消费金融有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products