GithubHelp home page GithubHelp logo

PCA initialization about minisom HOT 7 CLOSED

emeeubc avatar emeeubc commented on July 3, 2024
PCA initialization

from minisom.

Comments (7)

JustGlowing avatar JustGlowing commented on July 3, 2024 1

@racng see here racng@618eb5e#commitcomment-139246212

from minisom.

JustGlowing avatar JustGlowing commented on July 3, 2024

I'll look into this asap, in the meanwhile please refer to this conversation #147

from minisom.

emeeubc avatar emeeubc commented on July 3, 2024

Thank you very much for looking into this. I have read conversation #147 and that change to indexing with pc[:,pc_order[0]] makes sense for column-wise eigenvectors. In the snippet of code above, I use pc[pc_order[0]] for indexing because the principal components (pc) are row-wise.

from minisom.

JustGlowing avatar JustGlowing commented on July 3, 2024

Thanks for this @emeeubc I had a look at you suggestion and your snippet of code is correct. Would you be happy to raise a pull request with the suggested changes?

from minisom.

emeeubc avatar emeeubc commented on July 3, 2024

Yes no problem, I've made the pull request. Please let me know if there are any issues. Thanks for your quick response!

from minisom.

JustGlowing avatar JustGlowing commented on July 3, 2024

issue resolved

from minisom.

racng avatar racng commented on July 3, 2024

Can there be an option to use the previous PCA calculation? I have data where the number of rows is much greater than the number of columns. The new PCA calculation is very slow for my data since dimension of cov(data) is very large.

Or would it be wrong to calculate PCA using the previous method?

from minisom.

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.