Skip to content

Feature Request: Returning x and y in the formula interface #28

@c7rishi

Description

@c7rishi

Hello,

Thanks for the excellent package. The functions are super helpful, and they make life much simpler while fitting glmnet models on a given dataset. One additional feature that I think would be great to have is an option of returning the predictor (and response) matrices created from the formula while fitting the model. This will be similar to the lm() and glm() functions where the logical arguments x and y determine whether these matrices/vectors are to be returned with the output. This is particularly useful e.g., in a post-analysis where one fits another model (say, a random forest) with the same predictors used in the glmnet.

Thanks,
Saptarshi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions