CalculateHighestTopicCosineSimilarity: Calculate Maximimum Likehood Topic

Description Usage Arguments Value

View source: R/topic_flow.R

Description

Accepts two topic term matrices generated by different LDA runs. Topics may have different terms in their respective vocabulary. Non-existent terms will be added with probability 0 to each other. See CalculateTopicFlow for an example of it's usage.

Usage

1

Arguments

ttm1

A topic term matrix

ttm2

A topic term matrix (e.g. of the following month)

Value

Returns a cartesian product data.table of the ttm pair containing the topics with maximum likehood.


sailuh/topicflowr documentation built on May 27, 2019, 8:46 a.m.