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

grpreg objective function inconsistency #51

Open
SzymonNowakowski opened this issue Jun 7, 2022 · 0 comments
Open

grpreg objective function inconsistency #51

SzymonNowakowski opened this issue Jun 7, 2022 · 0 comments

Comments

@SzymonNowakowski
Copy link

SzymonNowakowski commented Jun 7, 2022

There is an inconsistency in documentation and vignettes for grpreg objective function:

  1. Instruction on page 15 defines the objective function as $$Q = \frac{1}{n} * loss + penalty$$
  2. Models vignette defines the objective function as $$Q = \frac{1}{n} * loss + penalty$$
  3. Penalties vignette, however, defines the objective function differently as $$Q = loss + penalty$$

I have tested the results of grpreg with glmnet on some examples and they are the same, so looking at glmnet objective function for Gaussian families I conclude that 1. and 2. are correct. Could you please update the Penalties vignette?

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

1 participant