cpsievert / LDAvis

R package for web-based interactive topic model visualization.
Other
557 stars 131 forks source link

Percentage of explained variance in axes of final plot #65

Closed MarcinKosinski closed 7 years ago

MarcinKosinski commented 8 years ago

At first it looks like the PCA is performed for multi-dimensional-scaling to represent topics in 2 dimensions - this is the conclusion that comes up from the axis labels.

But when one looks closer to the default jsPCA function, it looks like the reduction is made on dissimilarity matrix (not on the regular dataset) and what is more, the cmdscale function (used in jsPCA) is used to perform dimension reduction and not the prcomp .

MarcinKosinski commented 8 years ago

@cpsievert I am not so skilled in math. Would you rather ask me such questions privately or on stats stackoverflow?