Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Artificial Intelligence for Big Data

You're reading from   Artificial Intelligence for Big Data Complete guide to automating Big Data solutions using Artificial Intelligence techniques

Arrow left icon
Product type Paperback
Published in May 2018
Publisher Packt
ISBN-13 9781788472173
Length 384 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Anand Deshpande Anand Deshpande
Author Profile Icon Anand Deshpande
Anand Deshpande
Manish Kumar Manish Kumar
Author Profile Icon Manish Kumar
Manish Kumar
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Big Data and Artificial Intelligence Systems 2. Ontology for Big Data FREE CHAPTER 3. Learning from Big Data 4. Neural Network for Big Data 5. Deep Big Data Analytics 6. Natural Language Processing 7. Fuzzy Systems 8. Genetic Programming 9. Swarm Intelligence 10. Reinforcement Learning 11. Cyber Security 12. Cognitive Computing 13. Other Books You May Enjoy

Feature extraction


As mentioned earlier in this chapter, the NLP system does not understand string values. They need numerical input to build models, sometimes they are also called numerical features. Feature extraction in NLP is converting a set of text information into a set of numerical features. Any machine learning algorithm that you are going to train would need features in numerical vector forms as it does not understand the string. There are many ways text can be represented as numerical vectors. Some such ways are One hot encoding, TF-IDF, Word2Vec, and CountVectorizer.

One hot encoding

One hot encoding is the binary sparse vector representation of text. In this encoding, the resulting binary vector is all zero-value except at the position or index of the token where it is one. Let's look at it with an example. Suppose there are two sentences: This is Big Data AI Book. This is book explains AI algorithms on Big Data

. 

Unique tokens (nouns) for earlier sentences would be {data,AI,book...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image