|
@@ -859,6 +859,8 @@ class Mvp:
|
|
f = f * random.uniform(0.8, 1.2)
|
|
f = f * random.uniform(0.8, 1.2)
|
|
if f >= 1:
|
|
if f >= 1:
|
|
f = f*random.uniform(0.05, 0.35)
|
|
f = f*random.uniform(0.05, 0.35)
|
|
|
|
+ if f == 0:
|
|
|
|
+ f = random.uniform(0.08, 0.33)
|
|
scores_sub.append([city, age, crowd_type, key_tag, f])
|
|
scores_sub.append([city, age, crowd_type, key_tag, f])
|
|
scores[key_tag_type] = scores_sub
|
|
scores[key_tag_type] = scores_sub
|
|
# self.shangju_db.add_some(self.sql_9, scores)
|
|
# self.shangju_db.add_some(self.sql_9, scores)
|