coherenceLDA: Function coherenceLDA

coherenceLDAR Documentation

Function coherenceLDA

Description

Calculates semantic coherence of an LDA.

Usage

coherenceLDA(lda, dtm, n = 0)

Arguments

lda

Object of class LDA.

dtm

document-term matrix.

n

Number of terms for determining document-coocurence. If 0 (default) n is set to the number of terms in the dtm.

Examples

coherenceLDA(lda,dtm)

AndreasFischer1985/quantqual documentation built on June 20, 2022, 4:55 p.m.