Giter Site home page Giter Site logo

Option for sample weights? about biglasso HOT 4 OPEN

mzhao94 avatar mzhao94 commented on May 27, 2024
Option for sample weights?

from biglasso.

Comments (4)

YaohuiZeng avatar YaohuiZeng commented on May 27, 2024

Thanks for your comment, @mzhao94. That option is not supported in current version. I may add this option later as I am really busy for graduation at this point.

from biglasso.

privefl avatar privefl commented on May 27, 2024

Maybe the simplest way would be to

  • make another accessor which access X(i, j) * w[i] instead of just X(i, j)
  • replace the BM accessors by a class template (this is actually what I did to port this package's code to my package bigstatsr)

Is that okay with you, @YaohuiZeng?

Actually this could be done for weights on variables too, I think.

from biglasso.

YaohuiZeng avatar YaohuiZeng commented on May 27, 2024

@privefl sorry for the delayed reply. Thank you for your suggestions, which sound good to me. I will try to add options for sample/variable weights in next version.

from biglasso.

privefl avatar privefl commented on May 27, 2024

@YaohuiZeng I don't know if this is as easy as I said. There are also scaling and regularization involved. Not sure where to use weights.

from biglasso.

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.