소스 검색

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

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

+ 5 - 0
ad/model_predict_analyse.py

@@ -32,6 +32,11 @@ def read_predict(hdfs_path: str) -> list:
 
 
 def _main(model1_predict_path: str, model2_predict_path: str):
+
+    # 设置 pandas 显示选项
+    pd.set_option('display.max_rows', None)  # 显示所有行
+    pd.set_option('display.max_columns', None)  # 显示所有列
+
     model1_result = read_predict(model1_predict_path)
     model2_result = read_predict(model2_predict_path)