소스 검색

feat:添加评估结果分析脚本

zhaohaipeng 1 년 전
부모
커밋
8b8a51179e
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      ad/model_predict_analyse.py

+ 1 - 5
ad/model_predict_analyse.py

@@ -16,11 +16,7 @@ def read_predict(hdfs_path):
 
 
 def _main():
-    with client.read("/dw/recommend/model/34_ad_predict_data/20241004_351_0927_1003_1000/*",
-                     encoding="utf-8") as reader:
-        content = reader.read()
-
-    print(content)
+    read_predict("/dw/recommend/model/34_ad_predict_data/20241004_351_0927_1003_1000")
 
 
 if __name__ == '__main__':