Browse Source

修改平滑值 70 / 1800

罗俊辉 1 year ago
parent
commit
34643ec451
1 changed files with 1 additions and 1 deletions
  1. 1 1
      process_data.py

+ 1 - 1
process_data.py

@@ -126,7 +126,7 @@ class DataProcessor(object):
         sql = f"""SELECT like_cnt, play_cnt, duration from crawler_video where video_id = '{video_id}';"""
         try:
             like_cnt, play_cnt, duration = self.client_spider.select(sql)[0]
-            lop = (like_cnt + 700) / (play_cnt + 18000)
+            lop = (like_cnt + 70) / (play_cnt + 1800)
             return lop, duration
         except Exception as e:
             print(video_id, "\t", e)