Explorar el Código

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

zhaohaipeng hace 6 meses
padre
commit
6bc75961c4
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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)