Skip to Content
Python Deep Learning - Second Edition
book

Python Deep Learning - Second Edition

by Ivan Vasilev, Daniel Slater, Gianmario Spacagna, Peter Roelants, Valentino Zocca
January 2019
Intermediate to advanced
386 pages
11h 13m
English
Packt Publishing
Content preview from Python Deep Learning - Second Edition

Visualizing word embedding vectors

In the following diagram, we can see a 2D projection of some word embeddings (source http://colah.github.io/posts/2014-07-NLP-RNNs-Representations/). The words, which are semantically close, are also close to each other in the embedding space:

Related words in a 2D embedding space are close to each other in this space

A surprising result is that these word embedding's can capture analogies between words as differences (as shown in the following diagram; source: https://www.aclweb.org/anthology/N/N13/N13-1090.pdf). For example, it might capture that the difference between the embedding of "woman" and "man" ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python Deep Learning

Python Deep Learning

Valentino Zocca, Gianmario Spacagna, Daniel Slater, Peter Roelants

Publisher Resources

ISBN: 9781789348460Supplemental Content