码迷,mamicode.com
首页 > 其他好文 > 详细

2020.3.4

时间:2020-03-05 01:01:48      阅读:46      评论:0      收藏:0      [点我收藏+]

标签:func   rect   UNC   unit   for   note   fun   change   diff   

Description:

Debug for the "dynamic community detection" project;
Only 1 of the 2 communities could be found.

Debug note:

ER - 5, 5,

run.py:106

store A
[[0. 0. 1. 0. 0. 0. 0. 0. 0. 0.],
[0. 0. 1. 1. 0. 0. 0. 0. 0. 0.],
[0. 0. 0. 1. 1. 0. 0. 0. 0. 0.],
[0. 0. 0. 0. 0. 0. 0. 0. 1. 0.],
[0. 0. 0. 0. 0. 1. 0. 0. 0. 0.],
[0. 0. 0. 0. 0. 0. 0. 1. 0. 0.],
[0. 0. 0. 0. 0. 0. 0. 1. 1. 0.],
[0. 0. 0. 0. 0. 0. 0. 0. 1. 1.],
[0. 0. 0. 0. 0. 0. 0. 0. 0. 0.],
[0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]]

#############################
#BUG CATCHED: directed A...  
#############################


run.py:48

store xs
[5.62924497 6.05437285 6.02603722 5.54640685 5.59653924 5.62325238,
 6.01462002 5.95149679 5.02472417 5.02472417]

store new

0




for i in range(len(G)):
    run.py:53
    print change
    0

    print changed_states

    [0.         6.05437285 6.02603722 5.54640685 5.59653924 5.62325238,
    6.01462002 5.95149679 5.02472417 5.02472417]


    funcs.py:375
    print x0 == changed_states
    [0.         6.05437285 6.02603722 5.54640685 5.59653924 5.62325238,
     6.01462002 5.95149679 5.02472417 5.02472417]

    print xs_prev
    [0.         6.05437285 6.02603722 5.54640685 5.59653924 5.62325238,
    6.01462002 5.95149679 5.02472417 5.02472417]

    print xs
    [0.         6.05437285 6.02603722 5.54640685 5.59653924 5.62325238,
    6.01462002 5.95149679 5.02472417 5.02472417]


    funcs.py:384
    print dxdt
    [ 1.00000000e-01  0.00000000e+00 -1.77635684e-15  2.66453526e-15,  1.77635684e-15
     3.55271368e-15  2.66453526e-15  4.44089210e-15, -4.85722573e-16 -4.85722573e-16]
    print xs
    [1.00000000e-31 6.05437285e+00 6.02603722e+00 5.54640685e+00, 5.59653924e+00 5.62325238e+00
    6.01462002e+00 5.95149679e+00, 5.02472417e+00 5.02472417e+00]

    funcs.py:402
    print node_diff
    print top_n_influenced_node_prev
    print top_n_influenced_node

2020.3.4

标签:func   rect   UNC   unit   for   note   fun   change   diff   

原文地址:https://www.cnblogs.com/manqing/p/12417119.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!