r/MachineLearning • • Aug 02 '09

[deleted by user]

[removed]

20 Upvotes

18 comments sorted by

View all comments

Show parent comment

3

u/semanticprecision Aug 02 '09

I think that bigrams may be computationally expensive, relative to the minimal advances in accuracy they'd provide. This hypothesis is based on my view that subreddits are highly stratified, and many are well-defined in terms of one or two proper nouns. For example, my subreddits could be easily decided on the basis of the terms Haskell, Python, tomato, apple, Contador, Armstrong, and maybe recession.

I'm extrapolating a bit from my own usage patterns, but I don't know that that's inaccurate. I wouldn't argue against trying n-grams, but I think they wouldn't buy that much in terms of additional insight; then again, they might help solve the Christianity versus Athiesm subreddit issue.

3

u/ogrisel Aug 03 '09 edited Aug 03 '09

Adding bigram features should not be that expensive if you use the hashing trick that vowpal wabbit implements.

But I aggree this might not help much in that case. However it's still worth a try.

2

u/semanticprecision Aug 03 '09

Cool; learn something new every day...