Leaklens

scikit-learn__scikit-learn-12973

LassoLarsIC: unintuitive copy_X behaviour

Verdict: the fix is stated in the issue (Tier A).

Therefore I propose that ```fit``` takes a default value of `None` and only overwrites the existing value if the user has explicitly passed it as an argument to ```fit```.

The text states the fix: “Therefore I propose that ```fit``` takes a default value of `None` and only overwrites the existing value if the user has explicitly passed it as an argument to ```fit``…”

All 500 SWE-bench Verified tasks · more scikit-learn/scikit-learn tasks · How the check works