Short text Classifier based on Numpy,scikit-learn,Pandas,Matplotlib
Project description
TextClassifier
-----------
A simple, efficient short-text classification tool based on Numpy,scikit-learn,Pandas,Matplotlib.
Sample Usage
````````````
.. code:: python
>>> import TextClassifier
>>> tc = TextClassifier.classifier_container()
>>> tc.load_Data('../data/Train.txt')
>>> tc.train()
>>> print tc.predict('生了个可爱的宝贝')
>>> [u'baby']
Installation
````````````
.. code:: bash
$ pip install TextClassifier
Links
`````
* `Code on Github <https://github.com/ArnoldGaius/Text_Classifier>`_
-----------
A simple, efficient short-text classification tool based on Numpy,scikit-learn,Pandas,Matplotlib.
Sample Usage
````````````
.. code:: python
>>> import TextClassifier
>>> tc = TextClassifier.classifier_container()
>>> tc.load_Data('../data/Train.txt')
>>> tc.train()
>>> print tc.predict('生了个可爱的宝贝')
>>> [u'baby']
Installation
````````````
.. code:: bash
$ pip install TextClassifier
Links
`````
* `Code on Github <https://github.com/ArnoldGaius/Text_Classifier>`_
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
TextClassifier-0.0.5.tar.gz
(2.4 kB
view details)
File details
Details for the file TextClassifier-0.0.5.tar.gz
.
File metadata
- Download URL: TextClassifier-0.0.5.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4a32b3233299f5a8a8e0d47038489aee51b8079062c0a2d7dad68f29ebd9e4d |
|
MD5 | 206a31faaf5b56b85814393eb385a8fd |
|
BLAKE2b-256 | 1311059797a76b8702d57c9a1b0609eae8284aec3333d3045f65b402d284d895 |