build_kgraph_from_fit: Build a knowledge graph from a fit object

View source: R/build_kgraph.R

build_kgraph_from_fitR Documentation

Build a knowledge graph from a fit object

Description

Computes similarities for nodes of interest on the fly to avoid having to deal with very large similarity matrices when number of features is large.

Usage

build_kgraph_from_fit(selected_concepts, m_embeds, fit_kg, ...)

Arguments

selected_concepts

Concepts of interest

m_embeds

Embeddings matrix

fit_kg

Fit object

...

Passed to build_kgraph

Value

Knowledge graph, list of slots df_nodes and df_links


kgraph documentation built on April 12, 2025, 1:42 a.m.