Skip to main content

detect_features

Function detect_features 

Source
pub fn detect_features(
    graph: &KnowledgeGraph,
    embedder: Option<&dyn Embedder>,
) -> Result<Vec<Feature>>
Expand description

实体级特征聚类

embedder 为 None 或嵌入失败时降级为纯结构聚类(结构权重即总权重)。