Skip to content

Get Topics Used By LDA? #7112

Open
Open
@cwford

Description

@cwford

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NLPIssues / questions around text processingdocumentationRelated to documentation of ML.NETquestionFurther information is requesteduntriagedNew issue has not been triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions