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.

What is word2vec?

What is word2vec? - Python Tutorial

From the course: Advanced NLP with Python for Machine Learning

Start my 1-month free trial

What is word2vec?

- [Instructor] Recall that a computer does not understand what words mean. It just sees a string of characters. So it's our job to create a representation that will allow Python to learn what a word represents. Generally, that means creating a numeric representation of a word instead of a string of characters. Given the numeric representation, Python has the tools to learn what that word means. Word2vec is the first method we're going to explore to try to create that numeric representation. In the final chapter of this course, we'll compare all techniques to one another to understand where each one excels. Now to frame this, it's worth noting that word2vec stands for word to vector. So it will convert a word or a string of characters to a numeric vector. Let's start with a formal definition. "Word2vec is a shallow, two-layer neural network "that accepts a text corpus as an input, "and it returns a set of vectors, "also…

Contents