Adding intelligence to your JS applications
summary
Uses a 1.6 million tweet Sanford dataset with a 90/10 train/validation split and a bag‑of‑words feature pipeline that normalizes usernames/URLs and compresses repeated letters, tokenizes with tokenize, and removes stopwords. Trains classifiers (examples: brain neural net and logistic regression) and reports about 80% accuracy on held‑out data, exports model parameters to JSON for production, and discusses HOG + neural nets for cat‑face detection, retraining cadence, thresholds, and human‑in‑the‑loop fallbacks.
AI-written summary · about
chapters (21)
- 0:00Intro
- 1:46Types of ML Applications
- 2:49Typical Lifecycle / Pipeline
- 3:43Task: Twitter Sentiment Analysis
- 4:17Data Collection
- 6:31Formulate Machine Learning Task
- 7:44Standard Word Tokenizing
- 8:13Features: representation of examples/input Tweets are a bit different than classic text
- 8:35Features: We'll use bag of words, but...
- 9:53Example feature extraction
- 10:27How to Train an Algorithm
- 11:14Example: Neural Network
- 12:30Example: Naïve Bayes
- 14:12Evaluation
- 14:52Simple Twitter Sentiment Classifier
- 15:52Make use of your classifier
- 16:21Example: Logistic Regression (cont'd)
- 16:46Other Deployment Considerations
- 20:16Where to find data?
- 21:04Cloud / hosted end-to-end solutions
- 21:35More npm libraries
