GithubHelp home page GithubHelp logo

ttong1013 / nlp_spark Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dreyco676/nlp_spark

1.0 1.0 1.0 135.27 MB

Natural Language Processing with Spark's MLlib

Jupyter Notebook 63.75% Python 36.25%

nlp_spark's Introduction

#Natural Language Processing with Spark's ML

##Requires

  • Anaconda Python 3.4
    • NLTK
    • langid
    • findspark (for local spark install only)
  • Spark 1.6
    • Local install OK

#Example Description

  • How to create a Data Science vs Spam classifier for twitter?
  • How to choose the right algorithm?
  • What do I need to start?

##Use PySpark to preprocess text data

  • Language Classification
  • Stop Word Removal
  • Custom Twitter Specific Clean Up
  • Part of Speech Tagging
  • Lemmatization/Stemming of Text
  • General Cleanup

##Converting text to numerical data with ML Pipelines

  • Tokenization
  • Term Frequency Hashing
  • Inverse Document Frequency

##Training & Testing a Model

  • Crossvalidation with ML Pipeline CrossValidator
  • Evaluation with ML Pipeline Evaluator

##Watch the Talk

nlp_spark's People

Contributors

dreyco676 avatar rguo12 avatar benone avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Forkers

iwga

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.