Introduction to Natural Language Processing with Python
summary
Hands-on pipeline that reads the Reuters dataset (74 indexes), builds a 500-word bag of words vocabulary with stop-word filtering and Porter stemming, converts to sparse counts and TF-IDF floats using scikit‑learn/NLTK, trains a multinomial Naive Bayes classifier and evaluates on the held-out split. Demo runs on KataKoda. Result is surprisingly strong baseline accuracy without parameter tuning; main cost is sparse vector storage and feature engineering rather than model complexity.
AI-written summary · about
chapters (14)
- 0:00Start
- 3:33NLP tasks
- 8:30Turing test
- 12:06Creative writing
- 13:35Start simple
- 13:54Text Classification Task
- 15:26Reuters Dataset
- 16:17Feature extractions for Machine Learning
- 17:28Bag of Words
- 22:13Sparse vectors
- 22:50Machine Learning: Training & Validation
- 24:32Python Natural Language Toolkit (NLTK)
- 38:55Conclusions
- 41:27Other text representations
related talks
30mKick-Start your Understanding of Machine Learning with Python
02h 19mWorkshop: Demystifying Natural Language Processing using Python (Scikit-Learn/ Keras)
44mTeaching Computers ABCs: A Quick Intro to Natural Language Processing
01h 39mNatural Language Processing (NLP) in Python - From Zero to Hero
31mDeep Learning Techniques for Natural Language Processing
01h 27mTips, Tricks and Topics in Text Analysis
23mMultilingual Natural Language Processing
01h 38mNavigating the World of NLP and Text Analytics
