You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I understand the scores are always supposed to be normalized which should mean that we are talking about rates. According to the Wikipedia article about the Harmonic mean this seems to be a better candidate than the arithmetic mean that is currently being used:
In mathematics, the harmonic mean [...] is appropriate for situations when the average of rates is desired.
The formula for a weighted harmonic mean can also be found in the wikipedia article:
If you agree I would implement the weighted harmonic mean and exchange the current average and issue a pull request.
Uh oh!
There was an error while loading. Please reload this page.
I found this line in your autopilot which combines several heuristics for the autopilot:
lnd/autopilot/combinedattach.go
Line 110 in 2bf2261
As far as I understand the scores are always supposed to be normalized which should mean that we are talking about rates. According to the Wikipedia article about the Harmonic mean this seems to be a better candidate than the arithmetic mean that is currently being used:
The formula for a weighted harmonic mean can also be found in the wikipedia article:
If you agree I would implement the weighted harmonic mean and exchange the current average and issue a pull request.
fyi: @alexbosworth @halseth
The text was updated successfully, but these errors were encountered: