changed the magnitude of random bias in user keyword ranking

This commit is contained in:
pythagoraswitch 2018-12-01 11:02:36 +01:00
parent d96edf480f
commit 8c618ab988
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ class Engine:
character_tags["VICTORIA OLEGOVNA SKITSKAYA"] = character_tags.get("VIKTORIA OLEGOVNA SKITSKAYA",0)
score = {}
for playlist in playlists:
score[playlist['name']] = random.random() * 0.001
score[playlist['name']] = random.random() * 0.1
for tag in playlist['tags']:
if tag in theme_tags:
score[playlist['name']] += theme_tags[tag] * themeWeights