68743770141eeb0f88cffbf61e49e4ae4dc49626,pynets/core/thresholding.py,,local_thresholding_prop,#Any#Any#Any#Any#,593
Before Change
break
k += 1
conn_matrix_thr = nx.to_numpy_array(min_t, nodelist=sorted(min_t.nodes()), dtype=np.float64)
return conn_matrix_thr, coords, labels
After Change
break
k += 1
conn_matrix_bin = thresholding.binarize(nx.to_numpy_array(min_t, nodelist=sorted(min_t.nodes()), dtype=np.float64))
conn_matrix_thr = np.multiply(conn_matrix, conn_matrix_bin)
return conn_matrix_thr, coords, labels
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: dPys/PyNets
Commit Name: 68743770141eeb0f88cffbf61e49e4ae4dc49626
Time: 2020-02-28
Author: dpisner@utexas.edu
File Name: pynets/core/thresholding.py
Class Name:
Method Name: local_thresholding_prop
Project Name: drckf/paysage
Commit Name: d67c1c94cef164a7fa154c836d104b89ea82a12e
Time: 2017-05-20
Author: jrwalsh1@gmail.com
File Name: examples/example_util.py
Class Name:
Method Name: compute_fantasy_particles
Project Name: drckf/paysage
Commit Name: d67c1c94cef164a7fa154c836d104b89ea82a12e
Time: 2017-05-20
Author: jrwalsh1@gmail.com
File Name: examples/example_util.py
Class Name:
Method Name: compute_weights