Skip to content

ENH: expose option to switch Ridge solver? #69

@tylerjereddy

Description

@tylerjereddy

The gfdl library currently leverages the sklearn Ridge estimator when the Moore-Penrose exact solve is not used. One potential issue is that we do not provide the user with a way to select the "true" solver used by Ridge, instead delegating that choice to Ridge itself via the default solver='auto'.

There are a few potential problems with this design:

  1. When performing a disciplined hyperparameter search over possible estimator settings in the gfdl library, the inability to select the exact Ridge solver used may require us to cripple i.e., the range of network sizes we may explore (since some solvers may have higher space complexities than others, and we can't know which one will get selected, so we'd have to be overly conservative).
  2. The user or researcher may have good reasons to want to select the solver--for example, comparison with a previously published result, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions