Learn R Programming

TopicScore (version 0.0.1)

The Topic SCORE Algorithm to Fit Topic Models

Description

Provides implementation of the "Topic SCORE" algorithm that is proposed by Tracy Ke and Minzhe Wang. The singular value decomposition step is optimized through the usage of svds() function in 'RSpectra' package, on a 'dgRMatrix' sparse matrix. Also provides a column-wise error measure in the word-topic matrix A, and an algorithm for recovering the topic-document matrix W given A and D based on quadratic programming. The details about the techniques are explained in the paper "A new SVD approach to optimal topic estimation" by Tracy Ke and Minzhe Wang (2017) .

Copy Link

Version

Install

install.packages('TopicScore')

Monthly Downloads

124

Version

0.0.1

License

MIT + file LICENSE

Maintainer

Minzhe Wang

Last Published

June 6th, 2019

Functions in TopicScore (0.0.1)

W_from_AD

Estimation of W from A and X
topic_score

The Topic SCORE algorithm
vertices_est

The vertex hunting in the Topic SCORE algorithm
simplex_dist

The l_2 distance between a point and a simplex
error_A

The l_1 distance between two thin matrices up to a column permuation
AP

Associated Press data