Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In your example, the weights need to add up to 100 to work correctly, right? The issue with the code in the article is that the weights did not add up to 1.


Right, I'm using a percentage. The article's bug reminded me of this directly!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: