Better Stuff
This commit is contained in:
parent
0f1255f614
commit
d537f878b7
@ -292,9 +292,8 @@ def scoreOpinions(G, globMu, globStd, errorFac=0.7):
|
||||
def scoreUnread(G, globMu, globStd, errorFac=0.6):
|
||||
for n in list(G.nodes):
|
||||
feedbacks = []
|
||||
deepFeedbacks = []
|
||||
deepLen = 0
|
||||
tagFeedbacks = []
|
||||
deepFeedbacks = [globMu]
|
||||
deepLen = 1
|
||||
node = G.nodes[n]
|
||||
if node['t'] == 'book':
|
||||
if node['rating'] == None:
|
||||
|
Loading…
Reference in New Issue
Block a user