machinelearning icon indicating copy to clipboard operation
machinelearning copied to clipboard

Get Topics Used By LDA?

Open cwford opened this issue 1 year ago • 0 comments

Using ML.NET 3.0 on Windows 11.

How do I get the topics used by the Latent Dirichlet Allocation when predicting (correlating) the relationship between a set of documents and a set of topics?

When I run the LatentDirichletAllocation.cs sample all I get are document correlations for three topics but I can see no way to actually get the topics, as text strings, that are used to make the predictions (correlations). There must be some way to know what topics ML.NET LDA has determined to use to make predictions.

Can someone help me find a way to return as a text string each topic ML.NET LDA uses to make predictions?

Thank you in advance.

cwford avatar Apr 02 '24 16:04 cwford