From the course: Advanced NLP with Python for Machine Learning
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Compare all methods using key performance metrics - Python Tutorial
From the course: Advanced NLP with Python for Machine Learning
Compare all methods using key performance metrics
- [Instructor] So now that we've built four models using four different ways to represent text messages, let's zoom out and take a look at the metrics we're using to evaluate these models. Now, a few caveats here. You should not necessarily take the methods I've shown as the only ways to solve a problem like this. Problems you encounter are all unique. This just adds a few techniques to your toolbox to solve those problems. You also should not take the results of these techniques on this problem as the ground truth for any problem. Just because TF-IDF works really well here, it doesn't necessarily mean it will work really well on every problem. Third, these models are not deterministic. If you're running the code along with me, you'll probably get slightly different results, though the relative ranking of these methods should remain the same. Lastly, we're using a fairly small data set here, and we didn't spend much…
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)
Prep the data for modeling2m 52s
-
(Locked)
Build a model on TF-IDF vectors6m 34s
-
(Locked)
Build a model on word2vec embeddings6m 41s
-
(Locked)
Build a model on doc2vec embeddings3m 59s
-
(Locked)
Build an RNN model5m 11s
-
(Locked)
Compare all methods using key performance metrics4m 16s
-
(Locked)
Key takeaways for advanced NLP modeling techniques3m 6s
-
(Locked)
-