From d537f878b721b11b4706a9cbc8244734c7391a6d Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Sun, 4 Jul 2021 20:38:20 +0200 Subject: [PATCH] Better Stuff --- caliGraph.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/caliGraph.py b/caliGraph.py index f8e4a53..d0bb0e1 100755 --- a/caliGraph.py +++ b/caliGraph.py @@ -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: