Using Spark MLlib for NLP
summary
Built a standalone system called IdiML that turns text into feature vectors, trains logistic‑regression models with Spark MLlib vectors (not DataFrames), and serves thousands of low‑latency predictions per second. It packages a feature pipeline, model, metadata and versioning as a single JAR object, supports automated continuous training and quick rollback, and replaced a previous cluster of ~24 servers — matching that throughput on a consumer laptop by skipping DataFrame overhead and tuning vector‑level use of MLlib.
AI-written summary · about
chapters (11)
- 0:00Introduction to NLP with Spark
- 1:19Why NLP matters in real world
- 5:13Training data and model building
- 6:39Feature extraction pipeline
- 9:26Model training and prediction
- 10:49Why EML is needed
- 15:46Hyperparameter tuning
- 18:03Version control in models
- 23:20Performance optimization
- 27:21Future improvements
- 30:15Q&A session
related talks
39mMachine Learning with Scala on Spark
45mDeep Learning and NLP with Spark
32mMachine Learning with Apache Spark
44mApache Spark and ML workflows
50mDeep Learning and NLP with Spark
55mGetting Started with Spark and ML
24mMaking Spark ML Models Portable Know Your Options
26mMLbase: A Distributed Machine Learning System
