VOOZH about

URL: https://www.coursera.org/learn/packt-nlp-machine-learning-models-in-python-4bziq

⇱ NLP – Machine Learning Models in Python | Coursera


NLP – Machine Learning Models in Python

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

NLP – Machine Learning Models in Python

Included with

Ask Coursera

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

9 hours to complete
Flexible schedule
Learn at your own pace

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

9 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • Build and evaluate spam detection models using Naive Bayes and performance metrics.

  • Implement sentiment analysis with logistic regression in Python.

  • Create extractive summaries using vector methods and TextRank algorithms.

  • Apply LDA, NMF, and LSA techniques for uncovering latent topics in text data.

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

8 assignments

Taught in English

Build your subject-matter expertise

This course is part of the Applied NLP and Generative AI Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 7 modules in this course

Updated in May 2025.

This course now features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. Unlock the power of natural language processing (NLP) with machine learning techniques using Python in this hands-on, application-focused course. You'll gain practical skills in text classification, sentiment analysis, summarization, and topic modeling—all essential tools in the NLP toolkit. By the end of the course, you'll not only understand key algorithms but also be able to implement them confidently in Python. The course begins with setup instructions and success tips to ensure a smooth learning experience. You'll dive into spam detection using Naive Bayes, addressing real-world problems like class imbalance and model evaluation with ROC, AUC, and F1 Score metrics. With guided exercises and code demonstrations, you'll learn to build functional spam filters. Next, you'll explore sentiment analysis through logistic regression, mastering both binary and multiclass classification. Then, you’ll move into text summarization—starting with vector-based approaches and progressing to advanced techniques like TextRank. Both beginner and advanced methods are covered, ensuring an inclusive learning path. Finally, you'll delve into topic modeling and latent semantic analysis (LSA), implementing algorithms like LDA and NMF in Python. The course is ideal for aspiring data scientists, software engineers, and analysts with basic Python knowledge who want to specialize in NLP. The level is intermediate, and some prior experience in machine learning will help but it is not mandatory.

In this module, we will introduce you to the course and what lies ahead. You’ll gain a clear understanding of the course roadmap and the unique value it offers. We’ll also share a special offer exclusively for enrolled students.

What's included

2 videos2 readings

2 videosTotal 9 minutes
  • Introduction and Outline8 minutes
  • Special Offer1 minute
2 readingsTotal 20 minutes
  • Introduction to the Course 'NLP – Machine Learning Models in Python'10 minutes
  • Full Course Resources10 minutes

In this module, we will help you get started by showing you where to access the course code and supporting resources. You'll also receive actionable advice on how to stay engaged and make the most of your learning journey. This foundational setup ensures you're fully prepared for the lessons ahead.

What's included

2 videos1 assignment

2 videosTotal 6 minutes
  • Where To Get the Code3 minutes
  • How To Succeed in This Course3 minutes
1 assignmentTotal 15 minutes
  • Getting Set Up - Assessment15 minutes

In this module, we will explore the real-world problem of spam detection using machine learning. You'll gain a solid understanding of the Naive Bayes algorithm, key evaluation metrics, and how to handle class imbalance. The module concludes with a hands-on implementation of a spam classifier in Python.

What's included

6 videos1 assignment

6 videosTotal 60 minutes
  • Spam Detection - Problem Description7 minutes
  • Naive Bayes Intuition12 minutes
  • Spam Detection - Exercise Prompt2 minutes
  • Aside: Class Imbalance, ROC, AUC, and F1 Score (pt 1)12 minutes
  • Aside: Class Imbalance, ROC, AUC, and F1 Score (pt 2)11 minutes
  • Spam Detection in Python16 minutes
1 assignmentTotal 15 minutes
  • Spam Detection - Assessment15 minutes

In this module, we will dive into sentiment analysis—a key application of NLP used to determine the emotional tone of text. You’ll learn the intuition and mechanics behind logistic regression and explore both binary and multiclass scenarios. The module wraps up with a guided Python implementation, allowing you to apply these concepts in practice.

What's included

7 videos1 assignment

7 videosTotal 63 minutes
  • Sentiment Analysis - Problem Description7 minutes
  • Logistic Regression Intuition (pt 1)18 minutes
  • Multiclass Logistic Regression (pt 2)7 minutes
  • Logistic Regression Training and Interpretation8 minutes
  • Sentiment Analysis - Exercise Prompt4 minutes
  • Sentiment Analysis in Python (pt 1)11 minutes
  • Sentiment Analysis in Python (pt 2)8 minutes
1 assignmentTotal 15 minutes
  • Sentiment Analysis - Assessment15 minutes

In this module, we will explore the field of text summarization and the different strategies used to condense large volumes of text. You'll learn both vector-based methods and the more advanced TextRank algorithm, with intuitive explanations and hands-on Python implementations. This section includes guided exercises for all skill levels, ensuring a strong grasp of summarization techniques.

What's included

10 videos1 assignment

10 videosTotal 70 minutes
  • Text Summarization Section Introduction6 minutes
  • Text Summarization Using Vectors6 minutes
  • Text Summarization Exercise Prompt2 minutes
  • Text Summarization in Python13 minutes
  • TextRank Intuition8 minutes
  • TextRank - How It Really Works (Advanced)11 minutes
  • TextRank Exercise Prompt (Advanced)1 minute
  • TextRank in Python (Advanced)15 minutes
  • Text Summarization in Python - The Easy Way (Beginner)6 minutes
  • Text Summarization Section Summary3 minutes
1 assignmentTotal 15 minutes
  • Text Summarization - Assessment15 minutes

In this module, we will dive into topic modeling techniques that help uncover the underlying themes within large text datasets. You'll explore both LDA and NMF, learning the theory, intuition, and practical implementation of each. By the end, you’ll be equipped to apply topic modeling in Python and analyze results effectively.

What's included

9 videos1 assignment

9 videosTotal 64 minutes
  • Topic Modeling Section Introduction3 minutes
  • Latent Dirichlet Allocation (LDA) - Essentials11 minutes
  • LDA - Code Preparation4 minutes
  • LDA - Maybe Useful Picture (Optional)2 minutes
  • Latent Dirichlet Allocation (LDA) - Intuition (Advanced)15 minutes
  • Topic Modeling with Latent Dirichlet Allocation (LDA) in Python12 minutes
  • Non-Negative Matrix Factorization (NMF) Intuition10 minutes
  • Topic Modeling with Non-Negative Matrix Factorization (NMF) in Python6 minutes
  • Topic Modeling Section Summary2 minutes
1 assignmentTotal 15 minutes
  • Topic Modeling - Assessment15 minutes

In this module, we will explore Latent Semantic Analysis and Indexing, techniques used to discover hidden patterns and meanings in text data. You'll gain a conceptual understanding of Singular Value Decomposition and how it's applied to NLP tasks. The module includes Python-based implementation and exercises to deepen your practical skills.

What's included

5 videos1 reading3 assignments

5 videosTotal 39 minutes
  • LSA / LSI Section Introduction4 minutes
  • SVD (Singular Value Decomposition) Intuition12 minutes
  • LSA / LSI: Applying SVD to NLP8 minutes
  • Latent Semantic Analysis / Latent Semantic Indexing in Python9 minutes
  • LSA / LSI Exercises6 minutes
1 readingTotal 10 minutes
  • Conclusion to the Course 'NLP – Machine Learning Models in Python'10 minutes
3 assignmentsTotal 105 minutes
  • Latent Semantic Analysis (Latent Semantic Indexing) - Assessment15 minutes
  • Full Course Assessment60 minutes
  • Full Course Practice Assessment30 minutes

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Offered by

Explore more from Machine Learning

Why people choose Coursera for their career

👁 Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
👁 Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
👁 Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
👁 Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions

Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.

If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.

Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.

If you complete the course successfully, your electronic Course Certificate will be added to your Accomplishments page - from there, you can print your Course Certificate or add it to your LinkedIn profile.

This course is currently available only to learners who have paid or received financial aid, when available.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Financial aid available,