scikit-learn__scikit-learn-25931
X does not have valid feature names, but IsolationForest was fitted with feature names
Verdict: the fix is stated in the issue (Tier A).
To summarise the idea would be to: - add a `_scores_sample` method without validation - have `scores_sample` validate the data and then call `_scores_sample` - call `_scores_sample` at the end of `.fit`
The text states the fix: “To summarise the idea would be to: - add a `_scores_sample` method without validation - have `scores_sample` validate the data and then call `_scores_sample` - call `_sc…”
All 500 SWE-bench Verified tasks · more scikit-learn/scikit-learn tasks · How the check works