synthesized-io / insight

🧿 Metrics & Monitoring of Datasets
BSD 3-Clause "New" or "Revised" License
12 stars 0 forks source link

Cramer's V Produces NaNs on COMPAS #33

Closed bogdansurdu closed 3 years ago

bogdansurdu commented 3 years ago

The current version of Cramer's V produces NaNs and RuntimeWarnings when run on categorical column pairs from the COMPAS dataset or when used for generating heatmaps in Fairlens.

It seems to work when used on UCI Adult and German Credit dataset, so it might be a more subtle issue.

Here is the specific RuntimeWarning:

cramer