Browse Source

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

zhaohaipeng 6 months ago
parent
commit
6bc75961c4
1 changed files with 5 additions and 0 deletions
  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)