We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45fcfe9 commit a6b1b23Copy full SHA for a6b1b23
mostlyai/qa/_distances.py
@@ -116,7 +116,7 @@ def calculate_distances(
116
else:
117
suffix = f"{len(columns)} columns [{columns}]"
118
_LOG.info(f"DCR Share: {g_dcr_share:.1%}, NNDR Ratio: {g_nndr_ratio:.3f} - {suffix}")
119
- if g_dcr_share > dcr_share:
+ if g_dcr_share >= dcr_share:
120
# keep results if DCR share is MAX
121
dcr_share = g_dcr_share
122
nndr_ratio = g_nndr_ratio
0 commit comments