|
@@ -31,6 +31,7 @@ class Mvp:
|
|
|
# 用户画像-消费结构 用户画像-生活方式
|
|
|
# 需要更新的模块:用户画像-性别、用户画像-行业、用户画像-出行方式、
|
|
|
# 用户画像-消费结构、用户画像-生活方式、用户画像-社交模式、用户画像-审美偏好
|
|
|
+ # mvp_crowd_info_gender_rate
|
|
|
tag_table = {
|
|
|
'用户画像-审美偏好': ['mvp_crowd_info_aesthetic_preference', 'aesthetic_preference'],
|
|
|
'用户画像-行为兴趣': ['mvp_crowd_info_behavior', 'behavioral_interest'],
|
|
@@ -657,7 +658,7 @@ class Mvp:
|
|
|
:return:
|
|
|
"""
|
|
|
if age == '85后' and city in ('上海市', '上海周边'):
|
|
|
- if table in ('用户画像-行业', '用户画像-生活方式', '用户画像-消费结构', '用户画像-'):
|
|
|
+ if table in ('用户画像-行业', '用户画像-生活方式', '用户画像-消费结构', '用户画像-社交模式'):
|
|
|
score = score * random.uniform(0.8, 1.0)
|
|
|
if table in ('用户画像-审美偏好', '用户画像-消费观念'):
|
|
|
if table == '用户画像-消费观念' and tag_name not in ('高端奢侈', '国潮国货', '小众品牌',
|