Live data from Hacker News

What Kagglers Are Using for Text Classification

mlwhiz.com

71–72 of 72 posts

Re: What Kagglers Are Using for Text Classification

#71

It should be noted that CNNs and LSTMs are an order of magnitude slower than things like bag-of-words/fasttext unless you're using an expensive GPU, and the accuracy benefit if any may be marginal in practice. Kaggle prioritizes chasing a metric, but real-world data science has more considerations.

Do you know of a good way to combine fasttext with none text features?

Let's say I know seasonality is a strong feature in classifying my text, how can I add this? With a BOW I can literally just add SEASON_AUTUMN as a word to the text, and I'll get that extra feature as a dummy variable in my feature vector.

But for fasttext, if I add such a word, it will just be averaged out in the final document feature vector.

Re: What Kagglers Are Using for Text Classification

#72
post #69

Earlier quoted context omitted.

I agree good models like xgboost get buried and inexperienced practitioners jump to deep models too quickly. Often without understanding how to properly architect and tune them. Always start with a simple baseline (EDIT: and good process). However, what's lacking in the ML practitioner community is nuance. Some applications need deep models some problems need xgboost. There isn't a "best" model in text classification…

This chart is great for newbies, perhaps give it an update? https://scikit-learn.org/stable/tutorial/machine_learning_ma...

I'm not a huge fan of the chart as it looks pretty 2014 dated. SVMs are rarely used anymore, so perhaps if you replaced all of them (including in the regression part) with gbm. Didn't notice any mention of logistic regression, which I still heavily use as well.

dimentionality reduction is part of any step, which depends on number of observations, features, and model. my favorite is l1 or pca, but I am not afraid to use stepwise regression or some tree method.

Post reply on HN