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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for TextClassifier-0.0.6.4.tar.gz
Algorithm Hash digest
SHA256 76b9cfa628afbe095304623a068e9545eda96d21e42db38b4c1d4a00f212002f
MD5 6692d17b91e660ff25a58b200e9237be
BLAKE2b-256 32b9464fb0e156b2151ff892ab66f40a4fa97653cd428b335dbdb535b16de9c7

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