Git Product home page Git Product logo

Comments (2)

ryanjgallagher avatar ryanjgallagher commented on July 23, 2024

There's a couple different ways you can get the documents for each topic. You could use the p_y_given_x attribute or log_p_y_given_x attributes to rank which documents are most probable for each topic. You could also get a binary classification of each document in each topic from labels (which applies a softmax from p_y_given_x).

You can also use log_z to rank which documents are "explained" the most by each topic according to pointwise total correlation. If you're looking something simple tough labels or p_y_given_x will probably be enough. Note, CorEx is a discriminative model, which means that CorEx estimates the probability a document belongs to a topic separately for each topic and the probabilities don't have to add up to 1.

from corex_topic.

dongqing7 avatar dongqing7 commented on July 23, 2024

That's fantastic! Thank you!

from corex_topic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.