Tweaking Recommendation-Visualization

This commit is contained in:
Dominik Moritz Roth 2022-02-10 18:18:05 +01:00
parent 685d4b2ccd
commit 6d502af029

View File

@ -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)