Skip to content

Problem with ridgeCV: centering the design matrix messes the solution when n < p #1807

@bthirion

Description

@bthirion

Centering the design matrix cancels one of its singular values when n < p. This creates a numeric mess in the RidgeCV computation.
An example of the bad behaviour is given in:
https://gist.github.com/bthirion/5233416

I'm still not fully sure about the right solution. Comments welcome !
Best.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions