소스 검색

modify: jupyter 下调用demo

yq 3 달 전
부모
커밋
8d4d9f4e5b
3개의 변경된 파일290개의 추가작업 그리고 8개의 파일을 삭제
  1. 287 0
      easy_ml_demo.ipynb
  2. 2 0
      feature/strategy_iv.py
  3. 1 8
      init/__init__.py

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 287 - 0
easy_ml_demo.ipynb


+ 2 - 0
feature/strategy_iv.py

@@ -400,6 +400,8 @@ class StrategyIv(FilterStrategyBase):
             display.display(metric_value_dict["样本分布"].table)
             # 打印变量iv
             display.display(metric_value_dict["变量iv"].table)
+            # 打印vif
+            display.display(metric_value_dict["变量有效性"].table)
             # 打印变量相关性
             f_display_images_by_side(metric_value_dict["变量有效性"].image_path, display, width=800)
 

+ 1 - 8
init/__init__.py

@@ -20,14 +20,7 @@ def init():
     plt.rcParams['axes.unicode_minus'] = False  # 解决负号显示问题
     plt.rcParams['figure.figsize'] = (8, 8)
     plt.rcParams['figure.max_open_warning'] = 1000
-
-
-def _custom_warning_filter(action, message, category, module, filename, line):
-    # 如果警告消息包含“ignore this warning”,则忽略该警告
-    if "matplotlib.font_manager" in str(message):
-        return False
-    # 否则,显示警告
-    return True
+    # plt.ioff()
 
 
 def warning_ignore():

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.