Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
ffm-baseline
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ML
ffm-baseline
Commits
3c9b4461
Commit
3c9b4461
authored
Nov 08, 2019
by
高雅喆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新新用户的轻医美标签词
parent
6829f21a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
dist_update_user_history_order_tags.py
eda/smart_rank/dist_update_user_history_order_tags.py
+1
-2
No files found.
eda/smart_rank/dist_update_user_history_order_tags.py
View file @
3c9b4461
...
@@ -110,8 +110,7 @@ if __name__ == '__main__':
...
@@ -110,8 +110,7 @@ if __name__ == '__main__':
hot_search_words_portrait_dict
=
{
i
[
"keywords"
]:
0.2
for
i
in
hot_search_words
}
hot_search_words_portrait_dict
=
{
i
[
"keywords"
]:
0.2
for
i
in
hot_search_words
}
redis_client
.
hmset
(
hot_search_words_portrait_portrait_key2
,
hot_search_words_portrait_dict
)
redis_client
.
hmset
(
hot_search_words_portrait_portrait_key2
,
hot_search_words_portrait_dict
)
hot_search_words
=
[
"明星整形"
,
"明星抗衰"
,
"明星颜值"
,
"明星婚恋"
,
"网红整形"
,
"网红抗衰"
,
"网红颜值"
,
"网红婚恋"
,
"审美"
,
"双眼皮"
,
"牙齿矫正"
,
"水光针"
,
hot_search_words
=
[
"双眼皮"
,
"牙齿矫正"
,
"水光针"
,
"玻尿酸"
,
"小气泡"
,
"隆鼻"
,
"明星整形"
,
"明星抗衰"
,
"明星颜值"
,
"明星婚恋"
,
"网红整形"
,
"网红抗衰"
,
"网红颜值"
,
"网红婚恋"
,
"审美"
]
"玻尿酸"
,
"小气泡"
,
"隆鼻"
]
hot_search_words_portrait_portrait_key3
=
"user:service_coldstart_tags3"
hot_search_words_portrait_portrait_key3
=
"user:service_coldstart_tags3"
hot_search_words_portrait3_dict
=
{
i
:
0.2
for
i
in
hot_search_words
}
hot_search_words_portrait3_dict
=
{
i
:
0.2
for
i
in
hot_search_words
}
redis_client
.
hmset
(
hot_search_words_portrait_portrait_key3
,
hot_search_words_portrait3_dict
)
redis_client
.
hmset
(
hot_search_words_portrait_portrait_key3
,
hot_search_words_portrait3_dict
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment