As a python novice, my instructor asked me to use python to implement the algorithm in the paper. I was confused about the technical points required and how to implement the algorithm. Currently, I have finished the Python tutorial by Teacher Liao and am currently reading the networkx documentation.
I hope you can help me solve the following problems:
1. Technical points required to implement the algorithm
2. How to deal with this type of paper
3. Suggestions on learning in the direction of data mining
Paper address: http://cjc.ict.ac.cn/online/o...
After a week, it has been initially completed. The extra code is not beautiful enough and inefficient. Please give me some advice
test.txt
a1 b1 0.2 0
a1 c1 0.8 0
a2 b2 0.4 0
a2 d2 1 0
b1 c1 0.7 0
c2 a2 0.8 0
d2 b2 0.6 0
a1 a2 1 1
a2 a1 0.1 1
....
a1 l1 0.5 0
a1 m1 0.5 0
a1 q1 0.5 0
a1 v1 0.5 0
a1 z1 0.5 0
a1 s1 0.5 0
a1 w1 0.5 0
a1 u1 0.5 0
the first two listed as Spreading entities, the third column represents the propagation probability between entities, the last column represents 0 for propagation in the same network, and 1 represents self-propagation between networks.
The next step is to optimize:
1. Use an independent cascade model and set the threshold
2. Change the maximum path to the shortest path and use log