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

View source: R/jsPCA_robust.R

jsPCA_robustR Documentation

(nUmerically robust) Dimension reduction via Jensen-Shannon Divergence & Principal Components

Usage

jsPCA_robust(phi)

Arguments

<<<<<<< HEAD

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 ======= \itemphimatrix, with each row containing the distribution over terms for a topic, with as many rows as there are topics in the model, and as >>>>>>> 090e9b94a8174eb89b8bacf7a22f170ffd578885 many columns as there are terms in the vocabulary.

This function is a 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


manuelbickel/textility documentation built on Nov. 25, 2022, 9:07 p.m.