Leaklens

scikit-learn__scikit-learn-13497

Comparing string to array in _estimate_mi

Verdict: the issue points to the file or function that was changed (Tier B).

In ``_estimate_mi`` there is ``discrete_features == 'auto'`` but discrete features can be an array of indices or a boolean mask.

The text points to the exact place to change: “In ``_estimate_mi`` there is ``discrete_features == 'auto'`` but discrete features can be an array of indices or a boolean mask.”

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