Open hxtruong6 opened 4 years ago
Hi, I am trying to re-implement SDNE code but I got stuck when reading code. Could you explain for me these below lines: -https://github.com/shenweichen/GraphEmbedding/blob/7de7a09aa17831ef480beb4658b2c76ed6f9a22f/ge/models/sdne.py#L162 : what is meaning of get('weight',1). Why does it has 1 value here?
get('weight',1)
1
A_
L[i:j, :]
L[index][:, index].todense()
index = [i:j]
L = y_true
Y = y_pred
Thank your helping!
Hi, I am trying to re-implement SDNE code but I got stuck when reading code. Could you explain for me these below lines: -https://github.com/shenweichen/GraphEmbedding/blob/7de7a09aa17831ef480beb4658b2c76ed6f9a22f/ge/models/sdne.py#L162 : what is meaning of
get('weight',1)
. Why does it has1
value here?A_
and its purpose?L[i:j, :]
for a mini batch to train. But what is meaning ofL[index][:, index].todense()
withindex = [i:j]
L = y_true
andY = y_pred
?Thank your helping!