VOOZH about

URL: https://www.coursera.org/learn/classification-vector-spaces-in-nlp

⇱ Natural Language Processing with Classification and Vector Spaces | Coursera


Natural Language Processing with Classification and Vector Spaces

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

Natural Language Processing with Classification and Vector Spaces

221,150 already enrolled

Gain insight into a topic and learn the fundamentals.
4.6

4,638 reviews

Intermediate level

Recommended experience

Flexible schedule
3 weeks at 10 hours a week
Learn at your own pace
95%
Most learners liked this course

Gain insight into a topic and learn the fundamentals.
4.6

4,638 reviews

Intermediate level

Recommended experience

Flexible schedule
3 weeks at 10 hours a week
Learn at your own pace
95%
Most learners liked this course

What you'll learn

  • Use logistic regression, naïve Bayes, and word vectors to implement sentiment analysis, complete analogies & translate words.

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

4 assignments

Taught in English

Build your subject-matter expertise

This course is part of the Natural Language Processing 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 4 modules in this course

In Course 1 of the Natural Language Processing Specialization, you will:

a) Perform sentiment analysis of tweets using logistic regression and then naïve Bayes, b) Use vector space models to discover relationships between words and use PCA to reduce the dimensionality of the vector space and visualize those relationships, and c) Write a simple English to French translation algorithm using pre-computed word embeddings and locality-sensitive hashing to relate words via approximate k-nearest neighbor search. By the end of this Specialization, you will have designed NLP applications that perform question-answering and sentiment analysis, created tools to translate languages and summarize text. This Specialization is designed and taught by two experts in NLP, machine learning, and deep learning. Younes Bensouda Mourri is an Instructor of AI at Stanford University who also helped build the Deep Learning Specialization. Łukasz Kaiser is a Staff Research Scientist at Google Brain and the co-author of Tensorflow, the Tensor2Tensor and Trax libraries, and the Transformer paper.

Learn to extract features from text into numerical vectors, then build a binary classifier for tweets using a logistic regression!

What's included

15 videos14 readings1 assignment1 programming assignment1 app item3 ungraded labs

15 videosTotal 85 minutes
  • Welcome to the NLP Specialization5 minutes
  • Welcome to Course 12 minutes
  • Week Introduction1 minute
  • Supervised ML & Sentiment Analysis3 minutes
  • Vocabulary & Feature Extraction3 minutes
  • Negative and Positive Frequencies3 minutes
  • Feature Extraction with Frequencies3 minutes
  • Preprocessing3 minutes
  • Putting it All Together2 minutes
  • Logistic Regression Overview3 minutes
  • Logistic Regression: Training2 minutes
  • Logistic Regression: Testing5 minutes
  • Logistic Regression: Cost Function5 minutes
  • Week Conclusion1 minute
  • Andrew Ng with Chris Manning47 minutes
14 readingsTotal 102 minutes
  • Acknowledgement - Ken Church10 minutes
  • Supervised ML & Sentiment Analysis2 minutes
  • Vocabulary & Feature Extraction2 minutes
  • Feature Extraction with Frequencies10 minutes
  • Preprocessing10 minutes
  • Putting it all together10 minutes
  • Logistic Regression Overview10 minutes
  • Logistic Regression: Training10 minutes
  • Logistic Regression: Testing10 minutes
  • Optional Logistic Regression: Cost Function10 minutes
  • Optional Logistic Regression: Gradient10 minutes
  • Join the DeepLearning.AI Forum to ask questions, get support, or share amazing ideas!2 minutes
  • Lecture Notes W11 minute
  • (Optional) Downloading your Notebook, Downloading your Workspace and Refreshing your Workspace5 minutes
1 assignmentTotal 30 minutes
  • Logistic Regression30 minutes
1 programming assignmentTotal 180 minutes
  • Logistic Regression180 minutes
1 app itemTotal 1 minute
  • Intake Survey1 minute
3 ungraded labsTotal 180 minutes
  • Natural Language preprocessing60 minutes
  • Visualizing word frequencies60 minutes
  • Visualizing tweets and Logistic Regression models60 minutes

Learn the theory behind Bayes' rule for conditional probabilities, then apply it toward building a Naive Bayes tweet classifier of your own!

What's included

13 videos12 readings1 assignment1 programming assignment1 ungraded lab

13 videosTotal 44 minutes
  • Week Introduction0 minutes
  • Probability and Bayes’ Rule3 minutes
  • Bayes’ Rule4 minutes
  • Naïve Bayes Introduction6 minutes
  • Laplacian Smoothing3 minutes
  • Log Likelihood, Part 16 minutes
  • Log Likelihood, Part 22 minutes
  • Training Naïve Bayes4 minutes
  • Testing Naïve Bayes4 minutes
  • Applications of Naïve Bayes3 minutes
  • Naïve Bayes Assumptions3 minutes
  • Error Analysis4 minutes
  • Week Conclusion1 minute
12 readingsTotal 111 minutes
  • Probability and Bayes’ Rule10 minutes
  • Bayes' Rule10 minutes
  • Naive Bayes Introduction10 minutes
  • Laplacian Smoothing10 minutes
  • Log Likelihood, Part 110 minutes
  • Log Likelihood Part 210 minutes
  • Training naïve Bayes10 minutes
  • Testing naïve Bayes10 minutes
  • Applications of Naive Bayes10 minutes
  • Naïve Bayes Assumptions10 minutes
  • Error Analysis10 minutes
  • Lecture Notes W21 minute
1 assignmentTotal 30 minutes
  • Naive Bayes30 minutes
1 programming assignmentTotal 180 minutes
  • Naive Bayes180 minutes
1 ungraded labTotal 60 minutes
  • Visualizing likelihoods and confidence ellipses60 minutes

Vector space models capture semantic meaning and relationships between words. You'll learn how to create word vectors that capture dependencies between words, then visualize their relationships in two dimensions using PCA.

What's included

10 videos10 readings1 assignment1 programming assignment3 ungraded labs

10 videosTotal 29 minutes
  • Week Introduction1 minute
  • Vector Space Models3 minutes
  • Word by Word and Word by Doc. 5 minutes
  • Euclidean Distance3 minutes
  • Cosine Similarity: Intuition3 minutes
  • Cosine Similarity4 minutes
  • Manipulating Words in Vector Spaces3 minutes
  • Visualization and PCA3 minutes
  • PCA Algorithm4 minutes
  • Week Conclusion1 minute
10 readingsTotal 91 minutes
  • Vector Space Models10 minutes
  • Word by Word and Word by Doc.10 minutes
  • Euclidian Distance10 minutes
  • Cosine Similarity: Intuition10 minutes
  • Cosine Similarity10 minutes
  • Manipulating Words in Vector Spaces10 minutes
  • Visualization and PCA10 minutes
  • PCA algorithm10 minutes
  • The Rotation Matrix (Optional Reading)10 minutes
  • Lecture Notes W31 minute
1 assignmentTotal 30 minutes
  • Vector Space Models30 minutes
1 programming assignmentTotal 180 minutes
  • Assignment: Vector Space Models180 minutes
3 ungraded labsTotal 180 minutes
  • Linear algebra in Python with Numpy60 minutes
  • Manipulating word embeddings 60 minutes
  • Another explanation about PCA60 minutes

Learn to transform word vectors and assign them to subsets using locality sensitive hashing, in order to perform machine translation and document search.

What's included

11 videos11 readings1 assignment1 programming assignment2 ungraded labs

11 videosTotal 68 minutes
  • Week Introduction1 minute
  • Overview2 minutes
  • Transforming word vectors7 minutes
  • K-nearest neighbors3 minutes
  • Hash tables and hash functions4 minutes
  • Locality sensitive hashing6 minutes
  • Multiple Planes4 minutes
  • Approximate nearest neighbors4 minutes
  • Searching documents2 minutes
  • Week Conclusion1 minute
  • Andrew Ng with Kathleen McKeown36 minutes
11 readingsTotal 93 minutes
  • Transforming word vectors10 minutes
  • K-nearest neighbors10 minutes
  • Hash tables and hash functions10 minutes
  • Locality sensitive hashing10 minutes
  • Multiple Planes10 minutes
  • Approximate nearest neighbors10 minutes
  • Searching documents10 minutes
  • Lecture Notes W41 minute
  • [IMPORTANT] Reminder about end of access to Lab Notebooks2 minutes
  • Acknowledgements10 minutes
  • Bibliography10 minutes
1 assignmentTotal 30 minutes
  • Hashing and Machine Translation30 minutes
1 programming assignmentTotal 180 minutes
  • Word Translation180 minutes
2 ungraded labsTotal 120 minutes
  • Rotation matrices in R260 minutes
  • Hash tables60 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.

Instructors

Instructor ratings
4.6 (1,342 ratings)
DeepLearning.AI
5 Courses251,156 learners

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."

Learner reviews

  • 5 stars

    73.95%

  • 4 stars

    18.96%

  • 3 stars

    4.48%

  • 2 stars

    1.27%

  • 1 star

    1.31%

Showing 3 of 4638

JC
·

Reviewed on Apr 20, 2021

The material was a little shallow in places, and there are some long standing issues with assignments and quizzes that remain unresolved. Other than that, it was an interesting course.

YB
·

Reviewed on Oct 15, 2022

This course is excellent and is well-organized​. I would definitely recommend it to others. The instructor​ explains the topic in a crystal clear way​. I​ learned a lot and had a great time. Thanks!

JM
·

Reviewed on Aug 1, 2020

Video lectures are short and concise. The basic ideas are well presented. Some references for the details of vector subspaces and spanning vectors would have filled out the mathematical framework.

Frequently asked questions

To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.

When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.

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,