Skip to main content

Iris flower species classifier

Project description

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

To run the test, run the following command:

python -m unittest tests.test_classifier

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

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

irisflower-1.0.1.tar.gz (3.0 kB view hashes)

Uploaded Source

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