Apache PredictionIO Template Text Classifier

Clone this repo:
  1. fadef43 Fix warnings by Naoki Takezoe · 8 months ago master
  2. b24325a 6.0 release by Donald Szeto · 9 months ago v6.0
  3. 6b89e6e Merge branch 'update-pio_0.11.0' of https://github.com/takezoe/incubator-predictionio-template-text-classifier by Donald Szeto · 9 months ago
  4. b25cca2 Merge branch 'patch-1' of https://github.com/kanwarpartapsingh/incubator-predictionio-template-text-classifier by Donald Szeto · 9 months ago
  5. 3d2baf5 Merge branch 'STOP_WORDS' of https://github.com/nlauchande/incubator-predictionio-template-text-classifier by Donald Szeto · 9 months ago

Text Classification Engine

Look at the following tutorial for a Quick Start guide and implementation details.

Release Information

Version 6.0

  • Use Apache Lucene as tokenizer
  • Add stopwords filter
  • Rename Scala package name
  • Update SBT version

Version 5.0 First Apache Version

  • Major changes to namespace to reflect donation to the Apache Software Foundation.
  • Build changes to support modified Apache build mechanism

Version 4.0

Re-structure and design preparator and algo. less memory usage and run time is faster. Move BIDMach, VW & SPPMI algo changes to bidmach branch temporarily.

Version 3.1

Fix DataSource to read “content”, “e-mail”, and use label “spam” for tutorial data. Fix engine.json for default algorithm setting.

Version 2.2

Modified PreparedData to use MLLib hashing and tf-idf implementations.

Version 2.1

Fixed dot product implementation in the predict methods to work with batch predict method for evaluation.

Version 2.0

Included three different data sets: e-mail spam, 20 newsgroups, and the rotten tomatoes semantic analysis set. Includes Multinomial Logistic Regression algorithm for text classification.

Version 1.2

Fixed import script bug occuring with Python 2.

Version 1.1 Changes

Changed data import Python script to pull straight from the 20 newsgroups page.