Skip to main content

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

Project details


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.5.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file TextClassifier-0.0.6.5.tar.gz.

File metadata

File hashes

Hashes for TextClassifier-0.0.6.5.tar.gz
Algorithm Hash digest
SHA256 0ca3df76d82e4169001cf55d2e8e1bc654f18489c1249e7594acb91ce40d0475
MD5 2b7b087cc067d5d5b0f435a824f80497
BLAKE2b-256 1af4b203c00a6f2988110604de4b4eb50501935dff5d8a6917b834d37b31319a

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page