Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling intercept #37

Open
lengstrom opened this issue May 8, 2021 · 1 comment
Open

Disabling intercept #37

lengstrom opened this issue May 8, 2021 · 1 comment

Comments

@lengstrom
Copy link

lengstrom commented May 8, 2021

Hi,

Thank you for maintaining and creating biglasso, it's been really helpful! We've run into an application where we need to disable the intercept, can you please provide some guidance on how to do this? (a hacky way to do this would be great even if its not standardly supported!)

@CHY-WANG
Copy link
Collaborator

CHY-WANG commented May 10, 2021

Disabling the intercept is currently not supported. However, if you are using the default family ("gaussian"), the fitted coefficients except intercept will be exactly the same no matter whether the intercept is disabled or not. For "binomial" family, the coefficients will be slightly different, but probably not enough to make a meaningful difference. For "cox" family, there is no intercept.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants