Hacker News Clone
new
|
comments
|
show
|
ask
|
jobs
|
submit
|
github repo
login
The Code That Almost Led to Disaster • a Starbase Story
(
www.thepythoncodingstack.com
)
1 points
by
rbanffy
3 hours ago
|
hide
|
past
|
web
|
1 comment
| favorite
zgs
2 hours ago
[-]
There is a second issue with the code. The calculation of the mean isn't numerically stable. Instead use:
mean_power = mean_power + (power - mean_power) / count
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
mean_power = mean_power + (power - mean_power) / count
reply