dotnet / machinelearning

ML.NET is an open source and cross-platform machine learning framework for .NET.
https://dot.net/ml
MIT License
8.91k stars 1.86k forks source link

How to get actual topics used to make predictions by LDA #7113

Open cwford opened 2 months ago

cwford commented 2 months ago

When running the LatentDirichletAllocation.cs sample all that I receive are prediction (correlation) values for the three topics. I do not receive, nor can I find a way to retrieve, the actual three topics ML.NET LDA uses to make predictions.

Can someone help me determine how to get the actual topics, as text strings, which ML.NET uses when performing a Latent Dirichlet Allocation against a set of sample documents?

Thank you.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.