select_optimal_k: Estimates number of topics (K) using the stm library

View source: R/topic_model.R

select_optimal_kR Documentation

Estimates number of topics (K) using the stm library

Description

Estimates number of topics (K) using the stm library

Usage

select_optimal_k(data)

Arguments

data

Data from preprocess_literature_for_topicmodeling()

Value

A list with topic estimation from stm lib (topickest), semantic coherence values (semcohvalues) and estimate of best K of topics (bestk)


aknutas/nails-package documentation built on Nov. 9, 2023, 3:28 p.m.