Better Stuff

This commit is contained in:
Dominik Moritz Roth 2021-07-04 20:38:20 +02:00
parent 0f1255f614
commit d537f878b7

View File

@ -292,9 +292,8 @@ def scoreOpinions(G, globMu, globStd, errorFac=0.7):
def scoreUnread(G, globMu, globStd, errorFac=0.6): def scoreUnread(G, globMu, globStd, errorFac=0.6):
for n in list(G.nodes): for n in list(G.nodes):
feedbacks = [] feedbacks = []
deepFeedbacks = [] deepFeedbacks = [globMu]
deepLen = 0 deepLen = 1
tagFeedbacks = []
node = G.nodes[n] node = G.nodes[n]
if node['t'] == 'book': if node['t'] == 'book':
if node['rating'] == None: if node['rating'] == None: