Zeta-and-Company / pydistinto

pydistinto - a Python implementation of different measures of distinctiveness for contrastive text analysis
9 stars 6 forks source link

Calculating chi-squared throws an error #1

Open christofs opened 3 years ago

christofs commented 3 years ago

Fehler bei der Berechnung chi-squared: "For each axis slice, the sum of the observed frequencies must agree with the sum of the expected frequencies to a relative tolerance of 1e-08, but the percent differences are..."

Das wird hier erklärt, ist also Absicht in einer neueren scipy-Version: https://github.com/scipy/scipy/pull/13193