For those interested in related/alternative approaches, one or more of the following established open-source libraries might appeal to you: - Snorkel (training data curation, weak supervision, heuristic labeling functions, uncertainty sampling, relation extraction): https://github.com/snorkel-team/snorkel - AllenNLP (many pretrained NLP research models for tasks beyond text classification, model training and serving,…
Classifying 200k articles in 7 hours using NLP
21–30 of 32 posts
Re: Classifying 200k articles in 7 hours using NLP
#22For those interested in related/alternative approaches, one or more of the following established open-source libraries might appeal to you: - Snorkel (training data curation, weak supervision, heuristic labeling functions, uncertainty sampling, relation extraction): https://github.com/snorkel-team/snorkel - AllenNLP (many pretrained NLP research models for tasks beyond text classification, model training and serving,…
Kill the LSA/NMF middle-man and use UMAP directly. It supports sparse (tf-idf) vectors.
Re: Classifying 200k articles in 7 hours using NLP
#23This article is a bit of a Frankenstein monster. There are too many possible target audiences for ML blogs and it seems like this post made an attempt to please everybody. This isn't a condemnation of the author, its just an impossible task. 1. Experienced ML practitioners will be unimpressed with the ML task generally (simple problem, no comparison with common models, no use of common dataset, no lit review) and wis…
Re: Classifying 200k articles in 7 hours using NLP
#24For those interested in related/alternative approaches, one or more of the following established open-source libraries might appeal to you: - Snorkel (training data curation, weak supervision, heuristic labeling functions, uncertainty sampling, relation extraction): https://github.com/snorkel-team/snorkel - AllenNLP (many pretrained NLP research models for tasks beyond text classification, model training and serving,…
Re: Classifying 200k articles in 7 hours using NLP
#25For those interested in related/alternative approaches, one or more of the following established open-source libraries might appeal to you: - Snorkel (training data curation, weak supervision, heuristic labeling functions, uncertainty sampling, relation extraction): https://github.com/snorkel-team/snorkel - AllenNLP (many pretrained NLP research models for tasks beyond text classification, model training and serving,…
Spacy link is for allennlp!
Bonus—An excellent interactive Spacy course from Ines Montani (also includes a template to build similar courses!): https://github.com/ines/spacy-course
Re: Classifying 200k articles in 7 hours using NLP
#26The title makes it sound like they talk about how they did it so efficiently. But all the info we get about that is "The last step was to combine the four binary models into one multiclass model, as explained in the previous section, and use it to classify 1M new documents automatically. To do this, we simply went on the UI and uploaded a new list of documents." Great intro to NLP article, but very light on the actua…
Given that is of interest, I'll do a follow up on the implementation details and dataset!
Re: Classifying 200k articles in 7 hours using NLP
#27The title makes it sound like they talk about how they did it so efficiently. But all the info we get about that is "The last step was to combine the four binary models into one multiclass model, as explained in the previous section, and use it to classify 1M new documents automatically. To do this, we simply went on the UI and uploaded a new list of documents." Great intro to NLP article, but very light on the actua…
Given that is of interest, I'll do a follow up on the implementation details and dataset!
Re: Classifying 200k articles in 7 hours using NLP
#28There are some well known text classification datasets, e.g. the Reuters news dataset from David Lewis of Bell Labs:
http://www.daviddlewis.com/resources/testcollections/reuters21578/
More background here: https://link.springer.com/content/pdf/bbm%3A978-3-642-04533-2%2F1.pdf
Here's a result from ReelTwo's Classification System circa 2003 (Based on a bayesian learner; related to the U Waikato WEKA ML system) if you'd be up for comparison: https://web.archive.org/web/20040606002449/http://www.reeltwo.com/datasets.html
10 categories
2,535 documents
15 build time (~170 docs/sec; these were short news abstracts; see pdf for example)
0.9121 F-measureBuild Time is the time to load, model and evaluate (using Leave-One-Out evaluation) a dataset on a WinXP/1GHz Celeron/256MB computer. F-Measure is the micro-averaged F-Measure across all categories in the dataset.
Re: Classifying 200k articles in 7 hours using NLP
#29Re: Classifying 200k articles in 7 hours using NLP
#30Maybe off topic ... Is Stanford ML expert some type of accreditation? How do you become a Stanford ML expert? :) Attending the (excellent) Stanford ML online course on Machine Learning or do I have to read an ML book on Stanford Campus?