Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Abstracted naive Bayes classifier for rest of us (Requires Python 2.7 or later)

Project Description
Classy: A naive bayes classifier package for Python
=========================

Bayes all the things!

Classy is an MIT licensed library written in Python.

Classy is built for document classification with web application usage in mind. Classy simplifies
the process down for you, so all you need to do is train it.

::

>>> c = Classy()
>>> c.train(['cpu', 'RAM', 'ALU', 'io', 'bridge', 'disk'], 'architecture')
True
>>> c.train(['monitor', 'mouse', 'keyboard', 'microphone', 'headphones'], 'input_devices')
True
>>> c.train(['desk', 'chair', 'cabinet', 'lamp'], 'office furniture')
True
>>> my_office = ['cpu', 'monitor', 'mouse', 'chair']
>>> c.classify(my_office)
('input_devices', -1.0986122886681098)
...

Classy has been designed with flexibility in mind, so it will work with any range of uses- blog entry categorization, ir systems,
tag clouds, recommendation engines and so on. Classy treats each document as a "bag of words" and is thus agnostic to content.


Features
--------

- Being Awesome


Installation
------------

To install on your machine: ::

$ pip install Classy

or: ::

$ easy_install Classy

(But you should use pip)


Contribute
----------


#. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug. There is a Contributor Friendly tag for issues that should be ideal for people who are not very familiar with the codebase yet.
#. Fork the `repository`_ on Github to start making your changes to the **develop** branch (or branch off of it).
#. Write a test which shows that the bug was fixed or that the feature works as expected.
#. Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to `AUTHORS`_.


README shamelessly ripped from `requests`_


.. _`repository`: https://github.com/pbdeuchler/Classy/
.. _`AUTHORS`: https://github.com/pbdeuchler/Classy/blob/master/AUTHORS.rst
.. _`requests`: https://github.com/kennethreitz/requests/

.. :changelog:

History
-------

0.0.3 - 0.0.9.2 (2012-05-10)
++++++++++++++++++

* Working out packaging/pypi kinks

0.0.2 (2012-05-10)
++++++++++++++++++

* IT'S ALIVE

0.0.1 (2012-04-30)
++++++++++++++++++

* A whole new world
Release History

Release History

This version
History Node

0.0.9.2

History Node

0.0.9.1

History Node

0.0.9

History Node

0.0.8

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Classy-0.0.9.2.tar.gz (3.7 kB) Copy SHA256 Checksum SHA256 Source May 11, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting