Tweaking Recommendation-Visualization
This commit is contained in:
parent
685d4b2ccd
commit
6d502af029
@ -751,28 +751,28 @@ def recommendNBooks(G, mu, std, n, removeTopListsB=True, removeUselessRecommende
|
|||||||
removeEdge(G)
|
removeEdge(G)
|
||||||
removeHighSpanTags(G, 8)
|
removeHighSpanTags(G, 8)
|
||||||
removeHighSpanReadBooks(G, 14)
|
removeHighSpanReadBooks(G, 14)
|
||||||
|
pruneTags(G, 7)
|
||||||
removeDangling(G, alsoBooks=False)
|
removeDangling(G, alsoBooks=False)
|
||||||
pruneRecommenders(G, 12)
|
pruneRecommenders(G, 12)
|
||||||
removeThinRecs(G, 3)
|
removeThinRecs(G, 3)
|
||||||
pruneTags(G, 9)
|
|
||||||
removeBad(G, mu, groups=['book'])
|
removeBad(G, mu, groups=['book'])
|
||||||
removeUselessReadBooks(G)
|
removeUselessReadBooks(G)
|
||||||
pruneTags(G, 8)
|
|
||||||
pruneAuthorCons(G, int(n/5)+3)
|
pruneAuthorCons(G, int(n/5)+3)
|
||||||
pruneRecommenders(G, 12 - min(4, n/20))
|
pruneRecommenders(G, 12 - min(4, n/20))
|
||||||
removeUselessSeries(G, mu)
|
removeUselessSeries(G, mu)
|
||||||
removeUselessTags(G)
|
removeUselessTags(G)
|
||||||
|
pruneTags(G, 6)
|
||||||
if removeTopListsB:
|
if removeTopListsB:
|
||||||
removeTopLists(G)
|
removeTopLists(G)
|
||||||
removeDangling(G, alsoBooks=True)
|
removeDangling(G, alsoBooks=True)
|
||||||
removeKeepBest(G, n+math.ceil(n/20)+3, maxDistForRead=1.5)
|
removeKeepBest(G, n+math.ceil(n/20)+3, maxDistForRead=1.5)
|
||||||
removeEdge(G)
|
removeEdge(G)
|
||||||
removeKeepBest(G, n+1, maxDistForRead=1.25)
|
removeKeepBest(G, n+2, maxDistForRead=1.25)
|
||||||
removeUselessSeries(G, mu)
|
removeUselessSeries(G, mu)
|
||||||
removeUselessTags(G)
|
removeUselessTags(G)
|
||||||
removeUselessReadBooks(G)
|
removeUselessReadBooks(G)
|
||||||
removeKeepBest(G, n, maxDistForRead=1.25)
|
removeKeepBest(G, n, maxDistForRead=1.25)
|
||||||
removeThinRecs(G, 2)
|
removeThinRecs(G, 3)
|
||||||
|
|
||||||
scaleBooksByRating(G)
|
scaleBooksByRating(G)
|
||||||
scaleOpinionsByRating(G)
|
scaleOpinionsByRating(G)
|
||||||
|
Loading…
Reference in New Issue
Block a user