From the course: Natural Language Processing in Python
Unlock this course with a free trial
Join today to access over 26,400 courses taught by industry experts.
Traditional vs. modern NLP - Python Tutorial
From the course: Natural Language Processing in Python
Traditional vs. modern NLP
A question you might have at this point is when should I use traditional versus modern NLP techniques? Remember, traditional NLP techniques typically involve machine learning and then modern NLP techniques involve deep learning. We'll be talking about deep learning, transformers, and LLMs later on in this course. But in general, if you have the option of one or the other, the main thing that you should keep in mind is start simple. So here's a flowchart you can use to illustrate what I mean by starting simple when deciding between traditional versus modern. The first question you should ask yourself is, what's my NLP goal? If your goal is one of these three tasks here, then you should be thinking to yourself, these are all things that can be done using traditional NLP techniques. And the second question you should ask yourself is, how much data do I have? If you have small to medium data, so under roughly 100,000 rows, Then in that case, you should start simple. Try the traditional…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Section introduction1m 20s
-
(Locked)
What is machine learning (ML)?2m 55s
-
(Locked)
Common ML algorithms for NLP2m 51s
-
(Locked)
Traditional NLP overview2m 31s
-
(Locked)
Traditional vs. modern NLP1m 55s
-
(Locked)
Demo: Create a new environment4m 9s
-
(Locked)
Sentiment analysis1m 28s
-
(Locked)
Sentiment analysis in Python2m 46s
-
(Locked)
Demo: Sentiment analysis in Python6m 11s
-
(Locked)
Assignment: Sentiment analysis58s
-
(Locked)
Solution: Sentiment analysis8m 50s
-
(Locked)
Text classification basics1m 51s
-
(Locked)
Text classification algorithms2m 6s
-
(Locked)
Naive Bayes8m 4s
-
(Locked)
Naive Bayes in Python3m 8s
-
(Locked)
Demo: Naive Bayes setup9m 19s
-
(Locked)
Demo: Naive Bayes workflow8m 33s
-
(Locked)
Demo: Naive Bayes prediction3m 8s
-
(Locked)
Pro tip: Compare ML models8m 56s
-
(Locked)
Text classification next steps3m 11s
-
(Locked)
Assignment: Text classification1m 25s
-
(Locked)
Solution: Text classification14m 3s
-
(Locked)
Topic modeling basics2m 16s
-
(Locked)
Topic modeling algorithms1m 42s
-
(Locked)
Non-negative matrix factorization (NMF)4m 22s
-
(Locked)
NMF in Python2m 28s
-
(Locked)
Demo: Fit an NMF model5m 1s
-
(Locked)
Pro tip: Display topics function9m 30s
-
(Locked)
Demo: Tune an NMF model8m 51s
-
(Locked)
Topic modeling next steps1m 56s
-
(Locked)
Pro tip: Combine ML algorithms5m 3s
-
(Locked)
Assignment: Topic modeling1m 45s
-
(Locked)
Solution: Topic modeling13m 5s
-
(Locked)
Key takeaways2m 57s
-
(Locked)
-
-
-
-