Data Science: Natural Language Processing (NLP) in Python

Practical applications of NLP: spam detection, sentiment analysis, article spinners, and latent semantic analysis.

Register for this Course

$19.00 $120.00 USD 84% OFF!

Login or signup to register for this course

Have a coupon? Click here.

Course Data

Lectures: 52
Length: 06h 26m
Skill Level: All Levels
Languages: English
Includes: Lifetime access, 30-day money back guarantee

Course Description

In this course you will build MULTIPLE practical systems using natural language processing, or NLP - the branch of machine learning and data science that deals with text and speech. This course is not part of my deep learning series, so there are no mathematical prerequisites - just straight up coding in Python. All the materials for this course are FREE.

After a brief discussion about what NLP is and what it can do, we will begin building very useful stuff. The first thing we'll build is a spam detector. You likely get very little spam these days, compared to say, the early 2000s, because of systems like these.

Next we'll build a model for sentiment analysis in Python. This is something that allows us to assign a score to a block of text that tells us how positive or negative it is. People have used sentiment analysis on Twitter to predict the stock market.

We'll go over some practical tools and techniques like the NLTK (natural language toolkit) library and latent semantic analysis or LSA.

Finally, we end the course by building an article spinner. This is a very hard problem and even the most popular products out there these days don't get it right. These lectures are designed to just get you started and to give you ideas for how you might improve on them yourself. Once mastered, you can use it as an SEO, or search engine optimization tool. Internet marketers everywhere will love you if you can do this for them!

This course focuses on "how to build and understand", not just "how to use". Anyone can learn to use an API in 15 minutes after reading some documentation. It's not about "remembering facts", it's about "seeing for yourself" via experimentation. It will teach you how to visualize what's happening in the model internally. If you want more than just a superficial look at machine learning models, this course is for you.





HARD PREREQUISITES / KNOWLEDGE YOU ARE ASSUMED TO HAVE:

  • calculus
  • linear algebra
  • probability
  • Python coding: if/else, loops, lists, dicts, sets
  • Numpy coding: matrix and vector operations, loading a CSV file
  • Sci-Kit Learn API, working knowledge of machine learning
  • Some familiarity with PCA, Markov Models, Logistic Regression


TIPS (for getting through the course):

  • Watch it at 2x.
  • Take handwritten notes. This will drastically increase your ability to retain the information.
  • Write down the equations. If you don't, I guarantee it will just look like gibberish.
  • Ask lots of questions on the discussion board. The more the better!
  • Realize that most exercises will take you days or weeks to complete.
  • Write code yourself, don't just sit there and look at my code.

Lectures

Natural Language Processing - What is it used for?

  1. Introduction and Outline (03:05) (FREE preview available)
  2. NLP Applications (06:41)
  3. Why is NLP hard? (04:00)
  4. The Central Message of this Course (02:23)

Course Preparation

  1. How to Succeed in this Course (03:13)
  2. Where to get the code and data (02:43)
  3. Do you need a review of machine learning? (02:45)

Build your own spam detector

  1. Build your own spam detector - description of data (02:08)
  2. Build your own spam detector using Naive Bayes and AdaBoost - the code (06:17)
  3. Key Takeaway from Spam Detection Exercise (05:57)
  4. Naive Bayes Concepts (09:57)
  5. AdaBoost Concepts (05:12)
  6. Other types of features (01:30)
  7. Spam Detection FAQ (Remedial #1) (08:45)
  8. What is a Vector? (Remedial #2) (06:05)
  9. SMS Spam Example (06:24)
  10. SMS Spam in Code (10:43)

Build your own sentiment analyzer

  1. Description of Sentiment Analyzer (03:13)
  2. Logistic Regression Review (07:32)
  3. Preprocessing: Tokenization (04:49)
  4. Preprocessing: Tokens to Vectors (06:21)
  5. Sentiment Analysis in Python using Logistic Regression (19:49)
  6. Sentiment Analysis Extension (06:02)
  7. How to Improve Sentiment Analysis & FAQ (12:19)

NLTK Exploration

  1. NLTK Exploration: POS Tagging (02:00)
  2. NLTK Exploration: Stemming and Lemmatization (02:06)
  3. NLTK Exploration: Named Entity Recognition (03:13)
  4. Want more NLTK? (01:59)

Latent Semantic Analysis

  1. Latent Semantic Analysis - What does it do? (02:31)
  2. PCA and SVD - The underlying math behind LSA (15:49)
  3. Latent Semantic Analysis in Python (10:08)
  4. What is Latent Semantic Analysis Used For? (09:41)
  5. Extending LSA (06:17)

Write your own article spinner

  1. Article Spinning Introduction and Markov Models (02:43)
  2. More about Language Models (09:53)
  3. Trigram Model (02:12)
  4. Precode Exercises (05:05)
  5. Writing an article spinner in Python (11:34)
  6. Article Spinner Extension Exercises (05:42)

How to learn more about NLP

  1. What we didn't talk about (02:45)

Appendix

  1. What is the Appendix? (02:48)
  2. Windows-Focused Environment Setup 2018 (20:21)
  3. How to install Numpy, Scipy, Matplotlib, Pandas, IPython, Theano, and TensorFlow (17:33)
  4. Is this for Beginners or Experts? Academic or Practical? Fast or slow-paced? (22:04)
  5. How to Code Yourself (part 1) (15:55)
  6. How to Code Yourself (part 2) (09:23)
  7. Proof that using Jupyter Notebook is the same as not using it (12:29)
  8. What order should I take your courses in? (part 1) (11:19)
  9. What order should I take your courses in? (part 2) (16:07)
  10. Python 2 vs Python 3 (04:38)
  11. How to Succeed in this Course (Long Version) (10:25)
  12. Where to get discount coupons and FREE deep learning material (02:21)