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
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.4.tar.gz
.
File metadata
- Download URL: TextClassifier-0.0.6.4.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76b9cfa628afbe095304623a068e9545eda96d21e42db38b4c1d4a00f212002f |
|
MD5 | 6692d17b91e660ff25a58b200e9237be |
|
BLAKE2b-256 | 32b9464fb0e156b2151ff892ab66f40a4fa97653cd428b335dbdb535b16de9c7 |