Skip to main content

Short text Classifier based on Numpy,scikit-learn,Pandas,Matplotlib

Project description

A simple, efficient short-text classification tool based on Numpy,scikit-learn,Pandas,Matplotlib.

Sample Usage

>>> import TextClassifier
>>> import TextClassifier
>>> tc = TextClassifier.classifier_container()
>>> tc.load_Data('../data/Train.txt')
>>> tc.train()
>>> print tc.predict('生了个可爱的宝贝')
>>> [u'baby']

Installation

$ pip install TextClassifier

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TextClassifier-0.0.6.3.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file TextClassifier-0.0.6.3.tar.gz.

File metadata

File hashes

Hashes for TextClassifier-0.0.6.3.tar.gz
Algorithm Hash digest
SHA256 c157bdde4d2a2dcb2087bca8a55d50aae0c963d76e8ceffbbffe02af50cb06e2
MD5 bf2376ebe319dc70ae781cbbfbcd0a63
BLAKE2b-256 ef5a659ffe05317383ab50131f0b30e280b0a1586e996057ee7b84b9c4f8b817

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page