Prechádzať zdrojové kódy

Update 02_ad_model_30d_v2_update.sh: enable functions

fengzhoutian 2 mesiacov pred
rodič
commit
37058a36ae
1 zmenil súbory, kde vykonal 5 pridanie a 5 odobranie
  1. 5 5
      ad/02_ad_model_30d_v2_update.sh

+ 5 - 5
ad/02_ad_model_30d_v2_update.sh

@@ -439,17 +439,17 @@ make_data() {
 main() {
   init
 
-  # check_ad_hive
-  # make_data
+  check_ad_hive
+  make_data
 
   if [ "${current_day_of_week}" -eq 1 ] || [ "${current_day_of_week}" -eq 3 ] || [ "${current_day_of_week}" -eq 5 ]; then
     echo "当前是周一,周三或周五,开始训练并更新模型"
-    # xgb_train
-    # model_predict
+    xgb_train
+    model_predict
     # get_feature_score
     compare_predictions
     draw_q_distribution
-    # model_upload_oss
+    model_upload_oss
   else
     echo "当前是周一,周三或周五,不更新模型"
   fi