changed the magnitude of random bias in user keyword ranking
This commit is contained in:
parent
d96edf480f
commit
8c618ab988
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ class Engine:
|
||||||
character_tags["VICTORIA OLEGOVNA SKITSKAYA"] = character_tags.get("VIKTORIA OLEGOVNA SKITSKAYA",0)
|
character_tags["VICTORIA OLEGOVNA SKITSKAYA"] = character_tags.get("VIKTORIA OLEGOVNA SKITSKAYA",0)
|
||||||
score = {}
|
score = {}
|
||||||
for playlist in playlists:
|
for playlist in playlists:
|
||||||
score[playlist['name']] = random.random() * 0.001
|
score[playlist['name']] = random.random() * 0.1
|
||||||
for tag in playlist['tags']:
|
for tag in playlist['tags']:
|
||||||
if tag in theme_tags:
|
if tag in theme_tags:
|
||||||
score[playlist['name']] += theme_tags[tag] * themeWeights
|
score[playlist['name']] += theme_tags[tag] * themeWeights
|
||||||
|
|
Loading…
Reference in a new issue