- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for exponentialMovingAverage (0.18 sec)
-
cmd/bucket-replication-metrics.go
return } increment := float64(bytesSinceLastWindow) / duration.Seconds() m.expMovingAvg = exponentialMovingAverage(beta, m.expMovingAvg, increment) } // exponentialMovingAverage calculates the exponential moving average func exponentialMovingAverage(beta, previousAvg, incrementAvg float64) float64 { return (1-beta)*incrementAvg + beta*previousAvg }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Feb 06 06:00:45 GMT 2024 - 14.2K bytes - Viewed (0)