mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 21:18:58 +00:00
(index) Tweak result valuation renormalization
This commit is contained in:
parent
c70f508ae8
commit
71d789aab0
@ -221,7 +221,7 @@ public class ResultValuator {
|
|||||||
if (value < 0)
|
if (value < 0)
|
||||||
value = 0;
|
value = 0;
|
||||||
|
|
||||||
return Math.sqrt((1.0 + scalingFactor) / (1.0 + value)) + Math.sqrt(penalty);
|
return Math.sqrt((1.0 + scalingFactor + penalty) / (1.0 + value));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user