Skip to content

How to handle tuning with glmnet #139

Open
@dajmcdon

Description

@dajmcdon

To use tune() in {tidymodels}, you have to supply potential values of lambda. The way cv.glmnet() works is to first call glmnet() on the whole data, then do the splits using the sequence from the full fit.

So the proper way to do this with {tidymodels} is simply to mimic that: fit all training data, then pass the path along.

We should incorporate this into the vignette in #105 and #131.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0do this immediately

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions