Skip to content

sample_weight for lasso, elastic etc #3702

Closed
@szs8

Description

@szs8

I am using lasso for time-series data and I would like to decay old data with a weight vector. Any reason why this is not available for lasso?

Meanwhile, if I fit lasso with X = dot(sqrt(diag(weights)), X) and y = dot(sqrt(diag(weights)), y), would it mean the same thing?

Thanks!

Edit:
TODOs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions