Machine Learning with Text in scikit learn
summary
Builds and evaluates real SMS spam classifiers from a GitHub tutorial using scikit-learn and pandas, turning text into a sparse document‑term matrix with count vectorizer and insisting on train‑test split before vectorizing. Trains a multinomial Naive Bayes and a logistic regression, reports timing in milliseconds and a surprisingly high 98.8% accuracy (with AU and confusion‑matrix diagnostics), demonstrates how to combine extra numeric features, and explains cross‑validation and probability calibration tradeoffs.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 12:52Agenda and model basics
- 23:36Text as numerical data
- 42:16Vectorization and matrices
- 52:35SMS spam dataset
- 1:07:59Naive Bayes model
- 1:21:47Naive Bayes vs logistic regression
- 1:24:19Conclusion
related talks
02h 19mWorkshop: Demystifying Natural Language Processing using Python (Scikit-Learn/ Keras)
01h 17mMachine Learning with Scikit-Learn
23mText mining online data with scikit-learn
40mAI vs AI: Creating Novel Spam and Catching it with Text Generating AI
42mMachine Learning Crash Course
30mKick-Start your Understanding of Machine Learning with Python
34mApplying Machine Learning Techniques to Detect and Understand Fake News
52mMachine Learning Crash Course
