Giter Site home page Giter Site logo

glmnetplus's Introduction

glmnetPlus

glmnet package with user-provided initialization

Usage:

library(glmnetPlus)

X <- matrix(rnorm(500*100), 500, 100)
y <- rnorm(500)

fit0 <- glmnetPlus::glmnet(X, y, thresh = 1e-20)
# initialize with the solution at lambda 50, and find solutions for lambda 51 to lambda 60
fitPlus <- glmnetPlus::glmnet(X, y, lambda = fit$lambda[51:60], beta0 = fit$beta[, 50], type.gaussian = "naive", thresh = 1e-20)
max(abs(fitPlus$beta - fit0$beta[, 51:60]))

glmnetplus's People

Contributors

junyangq avatar

Stargazers

Peiyuan Zhu avatar Andrew avatar Keith Hughitt avatar

Watchers

Yosuke Tanigawa avatar  avatar

Forkers

linnabrown

glmnetplus's Issues

Does glmnetplus contain any screening rules?

Hi,

I wanted to know whether any safe/strong screening rules have already been implemented in glmnetplus for family = "mgaussian"? I am trying to run an elastic net penalty for "mgaussian" (alpha = 0.99) and want to get a sense of what coding i would have to do on top of glmnetplus

Thanks
Prateek Sasan

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.