Live data from Hacker News

Twss.js

github.com

11–20 of 55 posts

Re: Twss.js

#12
The training data is pretty funny. I suppose he collected it from an online TWSS thread.

Re: Twss.js

#13
post #12

The training data is pretty funny. I suppose he collected it from an online TWSS thread.

I scraped the last sentence of pretty much all posts on http://twssstories.com and tweets that was replied with "that's what she said". Though it's currently using just twssstories data.

Re: Twss.js

#17
DanielRapp: in file twss.js/lib/classifier/knn.js, number of NN should be odd to prevent ties [EDIT: also, NN should be large enough to prevent over-fitting; small NN would mean that the difference (decision boundary) between twss and not-twss is highly non-linear; you need to implement cross-validation to find best NN]

Note to self: machine learning using node.js; what's the speed of calculations, what's the memory management in node.js, can I find pure JS implementation of SVM?

Post reply on HN