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.2.tar.gz (2.7 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for TextClassifier-0.0.6.2.tar.gz
Algorithm Hash digest
SHA256 2ff885851a020ff14d588e8f5a32f6707557247941537e1b67726c099c92c05d
MD5 911096a3a6e97366deeea1de6a0aedd1
BLAKE2b-256 3febdbb4fca2260cc83255c43bc8ff705a487d6bf862730339ce7a9bda0b2115

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