mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 13:19:02 +00:00
(index) Try harmonic mean for avgMinDist
This commit is contained in:
parent
53700e6667
commit
65bee366dc
@ -591,7 +591,7 @@ public class IndexResultScoreCalculator {
|
|||||||
if (cnt > 0 && sum > 0) {
|
if (cnt > 0 && sum > 0) {
|
||||||
return cnt / sum;
|
return cnt / sum;
|
||||||
} else {
|
} else {
|
||||||
return 1000.;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user