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.6.tar.gz
(2.5 kB
view details)
File details
Details for the file TextClassifier-0.0.6.tar.gz
.
File metadata
- Download URL: TextClassifier-0.0.6.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fdcef83a2710cb19f49c1661af7eb933e5a089d29508491ca82a46edc007606 |
|
MD5 | 25367ae60dd900d3a77170b6a3c38ac5 |
|
BLAKE2b-256 | caf6249ce802289cdb9b589b401b5786210bc003272b9a28ff16e7afd536ecbf |