scikit-learn__scikit-learn-10844
fowlkes_mallows_score returns RuntimeWarning when variables get too big
Verdict: the fix is stated in the issue (Tier A).
I propose to use np.sqrt(tk / pk) * np.sqrt(tk / qk) instead, which gives same result and ensuring not bypassing int32
The text states the fix: “I propose to use np.sqrt(tk / pk) * np.sqrt(tk / qk) instead, which gives same result and ensuring not bypassing int32”
All 500 SWE-bench Verified tasks · more scikit-learn/scikit-learn tasks · How the check works