Skip to content

[BUG] Missing dual_gap_ attribute in Lasso/ElasticNet implementation #6467

Open
@csadorf

Description

@csadorf

Problem

Two scikit-learn tests are failing in cuML's Lasso implementation:

  • test_lasso_zero
  • test_lasso_toy

The failures occur because these tests check for the dual_gap_ attribute, which is present in scikit-learn's implementation but missing in cuML's.

Impact

  • Test failures in scikit-learn compatibility tests
  • Missing functionality that could be useful for users who rely on this metric

Additional Context

  • cuML uses different solvers (CD and QN) than scikit-learn
  • The duality gap computation may not be feasible or meaningful with cuML's solver implementations
  • This is a scikit-learn specific implementation detail that may not align with cuML's optimization approach

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions