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('Faker is the first League of Legends player to earn over $1 million in prize money')
>>> [u'game']
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.5.tar.gz
.
File metadata
- Download URL: TextClassifier-0.0.6.5.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ca3df76d82e4169001cf55d2e8e1bc654f18489c1249e7594acb91ce40d0475 |
|
MD5 | 2b7b087cc067d5d5b0f435a824f80497 |
|
BLAKE2b-256 | 1af4b203c00a6f2988110604de4b4eb50501935dff5d8a6917b834d37b31319a |