Skip to Main Content
Hands-On Deep Learning with Apache Spark
book

Hands-On Deep Learning with Apache Spark

by Guglielmo Iozzia
January 2019
Intermediate to advanced content levelIntermediate to advanced
322 pages
7h 29m
English
Packt Publishing
Content preview from Hands-On Deep Learning with Apache Spark

Hands-on NLP with DL4J

The first example we are going to examine is a sentiment analysis case for movie reviews, the same as for the last example shown in the previous chapter (the Hands-on NLP with Spark-NLP section). The difference is that here, we are going to combine Word2Vec (https://en.wikipedia.org/wiki/Word2vec) and an RNN model.

Word2Vec can be seen as a neural network with two layers only, which expects as input some text content and then returns vectors. It isn't a deep neural network, but it is used to turn text into a numerical format that deep neural networks can understand. Word2Vec is useful because it can group the vectors of similar words together in a vector space. It does this mathematically. It creates, without human ...

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

Next-Generation Machine Learning with Spark: Covers XGBoost, LightGBM, Spark NLP, Distributed Deep Learning with Keras, and More

Next-Generation Machine Learning with Spark: Covers XGBoost, LightGBM, Spark NLP, Distributed Deep Learning with Keras, and More

Butch Quinto
Apache Spark Deep Learning Cookbook

Apache Spark Deep Learning Cookbook

Ahmed Sherif, Amrith Ravindra, Michal Malohlava, Adnan Masood

Publisher Resources

ISBN: 9781788994613Supplemental Content