diff --git a/caliGraph.py b/caliGraph.py index b10961f..72013ad 100755 --- a/caliGraph.py +++ b/caliGraph.py @@ -751,28 +751,28 @@ def recommendNBooks(G, mu, std, n, removeTopListsB=True, removeUselessRecommende removeEdge(G) removeHighSpanTags(G, 8) removeHighSpanReadBooks(G, 14) + pruneTags(G, 7) removeDangling(G, alsoBooks=False) pruneRecommenders(G, 12) removeThinRecs(G, 3) - pruneTags(G, 9) removeBad(G, mu, groups=['book']) removeUselessReadBooks(G) - pruneTags(G, 8) pruneAuthorCons(G, int(n/5)+3) pruneRecommenders(G, 12 - min(4, n/20)) removeUselessSeries(G, mu) removeUselessTags(G) + pruneTags(G, 6) if removeTopListsB: removeTopLists(G) removeDangling(G, alsoBooks=True) removeKeepBest(G, n+math.ceil(n/20)+3, maxDistForRead=1.5) removeEdge(G) - removeKeepBest(G, n+1, maxDistForRead=1.25) + removeKeepBest(G, n+2, maxDistForRead=1.25) removeUselessSeries(G, mu) removeUselessTags(G) removeUselessReadBooks(G) removeKeepBest(G, n, maxDistForRead=1.25) - removeThinRecs(G, 2) + removeThinRecs(G, 3) scaleBooksByRating(G) scaleOpinionsByRating(G)