jsPCA_robust: (numerically robust) Dimension reduction via Jensen-Shannon...

Description Usage Arguments

View source: R/utils.R

Description

This function is largely a copy of the repsective function in https://github.com/cpsievert/LDAvis/blob/master/R/createJSON.R, however, with a fix to avoid log(0) proposed by Maren-Eckhoff in https://github.com/cpsievert/LDAvis/issues/56

Usage

1

Arguments

phi

matrix, with each row containing the distribution over terms for a topic, with as many rows as there are topics in the model, and as many columns as there are terms in the vocabulary.


text2vec documentation built on March 26, 2020, 7:48 p.m.