Skip to content

Throw error if a penalty config is given both a flavor and weights #28

@idc9

Description

@idc9

Running the following code will use an adaptive Lasso, but ignore the weights (similarly if a non-convex penalty is set). This is highly confusing to the user!

GlmCV(penalty=Lasso(flavor=Adaptive(), weights=weights))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions