83 points · by jgrahamc · 16y ago · 49 comments
Oh wait..
If I modify the parser to take case into account you jump up to #16.
Maybe we subconsciously adopt the style of the person we reply to :) ?
So, swombat, time to prove that you are onetimetoken.
Perhaps I am alone in saying this, but I think data mining is interesting while web crawling is boring. Could somebody make the data available so that we don't have to write a crawler? Or is this part of the challenge?
I think this is a classic example of unsupervised learning, for which I would generally use a system like Fuzzy ART. I think that might perform better than a naive Basyesian text classifier though I can't be sure until I try it out.
edit: there's some new text to put through the filter: http://news.ycombinator.com/user?id=onetimetoken
and please try running the previous suspects through the filter: marketer, citizenparker, martythemaniak, eru, vaksel, neilc, vanelsas, swelljoe
Also, if it's not you of those, please formally deny it.
The prior probability is based on the number of comments a user makes. In this case that prior is insignificant because the sample text is large.
I think the next step is to write a more complex filter that does not assume word probabilities are independent of each other, i.e. take unusual phrases like "entirely dissimilar" into account.
This uses your notation from the Dr Dobbs article, so that Ci (a category) is a user and D is a document (a comment?).
Did you use something like trigram signatures?
Also, is P(Ci) equal to #comments made by Ci/total number of users?
Interesting stuff jgrahamc!
You probably want to do an N-gram analysis, like that performed by libtextcat http://software.wise-guys.nl/libtextcat/. This will perform a comparison based on common combinations of letters used (like "wo", "or", "rd"). Seems like it would be more accurate with such a relatively small sample of comments. If you had a list of 10-20 possible candidates, you could narrow it down to just a few.
There's an interesting lesson here that probably says something like the coolness of the tool used has no direct relation to the usefulness of the conclusions provided.
Edit: If someone here has a background in intelligence I would love to here their take on the challange.
That's why I personally discounted many from your first list (plus the fact I know a few are native English speakers)
Now I have to add my third from the list: nostrademons.