Irish Flower Classifier
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!