Hacker Newsnew | past | comments | ask | show | jobs | submit | DanielRapp's commentslogin

I'm sitting with a similar problem right now! Got any pointers?


What do you mean by the original discovery?


Looks neat, do you know if they're planning on open sourcing the server implementation as well?


That's precisely what I'm building https://github.com/DanielRapp/peerbalanced ;)


Thanks! Originally I just wanted a way to add a src attribute to any element, I eventually realized that it could be used to finally fix my issues with templates; too much javascript scaffolding.


The reason I chose node over "browser-js" is because it was originally going to be a Twitter bot, but decided to simplify the GitHub repo into just a node module to make it more useful.

But you're totally correct. This could've easily be written in any language.


Thanks. I did do a simple analysis[1] and changed it[2] to 5 neighbors. Though when I look at the graph now, I see that 4 is actually the optimal value..

Swedish graph (täckning = recall): http://cl.ly/BJRa/pr.png

[1] https://github.com/DanielRapp/twss.js/blob/master/lib/analyz...

[2] https://github.com/DanielRapp/twss.js/commit/3cfcda785583084...


Why don't you try 10-fold CV (http://en.wikipedia.org/wiki/Cross-validation_%28statistics%...) - the graph might drastically change. Here is example how to do it: https://onlinecourses.science.psu.edu/stat857/book/export/ht...

If precision & recall monotonically go down when increasing NN then it means you don't have enough training data.


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

Search: