Giter VIP home page Giter VIP logo

Comments (6)

DominiqueMakowski avatar DominiqueMakowski commented on May 18, 2024

This would definitely fit.

Other things that come to my mind when I think of the scope:

  • Other indices used in the structural equation field (this bunch of guys). As they are computed by default by lavaan, it would mostly consist of extractors consistent with the easyverse.
  • Convenience methods for PCAs / Factor Analysis, returning the % of variance explained.
  • I think that in general, and in the future, the easyverse (that is a thing now :) methods could be useful in the machine learning world, where people struggle with different models/packages. Providing a unifying syntax for extracting, interpreting and understanding their models could be quite appreciated. Although this will probably wait for the help of a future contributor, expert in this kind of things. But providing the tools to bridge the regression world with the ML world could be quite cool.

from performance.

strengejacke avatar strengejacke commented on May 18, 2024

According the 2nd point, I think we can use the code from here:
https://strengejacke.github.io/sjstats/reference/pca.html

from performance.

DominiqueMakowski avatar DominiqueMakowski commented on May 18, 2024

I've also made a parameters extraction implementation for fa/pca and lavaan in psycho, and I didn't know sjstats had it also (I guess it does too many things 😛)...

from performance.

strengejacke avatar strengejacke commented on May 18, 2024

I guess it does too many things

Yes, that's why an "out-sourcing" into separate packages makes sense. ;-) In the long term, I'll remove those functions from sjstats and just keep a set of useful functions that do not exactly fit into existing easyverse-packages.

from performance.

strengejacke avatar strengejacke commented on May 18, 2024

What do think about the name? Currently, we have pca() and pca_rotate(). What about item_pca(), to be more consistent with this "group" of functions?

from performance.

DominiqueMakowski avatar DominiqueMakowski commented on May 18, 2024

What about integrating the two (similar to psych::pca()) so that the rotation is an argument of the former, which would lower the number of exported functions.

As for the name, pca is good because it is widely known by this name. However, I think the name would clash with psych, which principal() seems to have pca as an alias.

We could go full plain with principal_components()? or principal_components_analysis (as you said, we live in the time of auto-completion ^^)?

principal_components make sense tho as the function returns precisely the principal components. Whereas a principal components analysis would also possibly refer to other pre/post processing steps.

from performance.

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.