GithubHelp home page GithubHelp logo

Comments (2)

chainsawriot avatar chainsawriot commented on July 28, 2024

Make sure your corpus actually has many cross-lingual topics (i.e. topics exist in all languages). I am pretty sure the wiki corpus does not have 20. I don't know about your corpora.

In the paper, I have written that there is a possibility to converge to a solution with less than your desired k, when your corpus doesn't have enough variance to support a solution with a large k. GMM is pretty restrictive. You can't get fine-grinded topics if your input is not fine-grinded enough. (as always, GIGO).

You can access the actual matrix of a filtered dfm object by adding $dfm after it (e.g. filtered_dfm$dfm). You can then use it anywhere.

rectr/R/rectr.R

Line 182 in 649ac80

input_dfm$dfm <- svd_dfm[,i:max_d]

from rectr.

justinchuntingho avatar justinchuntingho commented on July 28, 2024

Thanks for pointing this out! My corpus is a sample from news artcile from US and a few european countries, and I think the lack of cross-lingual topics is the reason (they could have over 20 in total but I doubt if many of them are cross-lingual across all languages).

from rectr.

Related Issues (5)

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.