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
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file TextClassifier-0.0.6.3.tar.gz
.
File metadata
- Download URL: TextClassifier-0.0.6.3.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c157bdde4d2a2dcb2087bca8a55d50aae0c963d76e8ceffbbffe02af50cb06e2 |
|
MD5 | bf2376ebe319dc70ae781cbbfbcd0a63 |
|
BLAKE2b-256 | ef5a659ffe05317383ab50131f0b30e280b0a1586e996057ee7b84b9c4f8b817 |