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

feature selection tuning parameter(s) #9

Open
topepo opened this issue Mar 27, 2021 · 2 comments
Open

feature selection tuning parameter(s) #9

topepo opened this issue Mar 27, 2021 · 2 comments

Comments

@topepo
Copy link

topepo commented Mar 27, 2021

It would make sense to have a main argument for the select argument:

select: If this is TRUE then gam can add an extra penalty to each term so that it can be penalized to zero. This means that the smoothing parameter estimation that is part of fitting can completely remove terms from the model. If the corresponding smoothing parameter is estimated as zero then the extra penalty has no effect. Use gamma to increase level of penalization.

and

gamma: Increase this beyond 1 to produce smoother models. gamma multiplies the effective degrees of freedom in the GCV or UBRE/AIC. coden/gamma can be viewed as an effective sample size in the GCV score, and this also enables it to be used with REML/ML. Ignored with P-RE/ML or the efs optimizer.

Maybe use select_features for select and adjust_deg_free for gamma?

@AlbertoAlmuinha
Copy link
Contributor

Thanks for this @topepo . This is a good idea in my opinion. Also agree with the proposed names. For my part, let's do it.

@mdancho84
Copy link
Contributor

I agree too! I actually wasn't aware that we can apply smooths to all of features. I do have a couple questions about factors since I'm wondering how the s() "by" argument works when automating but this is some research on my part.

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

3 participants