irisflower

Iris flower species classifier


Keywords
machine, learning, classifier
License
MIT
Install
pip install irisflower==1.0.2

Documentation

Irish Flower Classifier

https://travis-ci.org/risan/iris-flower-classifier.svg?branch=master https://coveralls.io/repos/github/risan/iris-flower-classifier/badge.svg?branch=master

Simple module for identiying Irish flower species based on it's sepal and petal dimensions.

Dependencies

Installation

The recomended way to install this module is through pip.

pip install irisflower

How To Use

# Import IrishFlowerClassifier class.
from irisflower.classifier import IrisFlowerClassifier

# Create a new instance of IrisFlowerClassifier.
iris_flower = IrisFlowerClassifier()

# Finaly classify the flower species.
print iris_flower.classify(sepal_length=5,sepal_width=3,petal_length=1,petal_width=0.2)

Running Test

If you already have `node <https://nose.readthedocs.org/>`_nose installed on your machine, simple run the following command:

nosetests

Or you can also run the built in Python unittest command like so:

python -m unittest tests.test_classifier

This is my first attempt to learn machine learning and also my first code written in Python! :snake: