liuzhiheng 1 месяц назад
Родитель
Сommit
9fb4af7a2c

+ 2 - 6
examples_how/overall_derivation/tools/pattern_dimension_analyze.py

@@ -31,11 +31,7 @@ _BASE_OUTPUT = Path(__file__).resolve().parent.parent / "output"
 
 # pattern 库 key 定义(与 find_pattern 中保持一致)
 TOP_KEYS = [
-    "depth_max_with_name",
-    "depth_mixed",
-    "depth_max_concrete",
-    "depth2_medium",
-    "depth1_abstract",
+    "depth_4",
 ]
 SUB_KEYS = ["two_x", "one_x", "zero_x"]
 
@@ -741,7 +737,7 @@ def main() -> None:
         post_id=post_id,
         log_id=log_id,
         match_threshold=0.5,
-        cluster_level=2,
+        cluster_level=3,
     )
     # 控制台打印前 4000 字符,便于快速查看
     # print(json.dumps(result, ensure_ascii=False, indent=2)[:4000] + "...")