Kaynağa Gözat

放宽一下样本数的过滤条件

node04 2 hafta önce
ebeveyn
işleme
060608cb60
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      descending_cabin_task.py

+ 1 - 1
descending_cabin_task.py

@@ -78,7 +78,7 @@ def _process_one_task(row):
         return None
     
     drop_price_sample_size = int(task.get("drop_price_sample_size", "0"))
-    if drop_price_sample_size < 2:  # 丢弃历史降价样本数过少(小于2)的
+    if drop_price_sample_size < 1:  # 丢弃历史降价样本数过少(小于1)的
         return None
     
     from_date = task.get("from_date")