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 details)

Uploaded Source

File details

Details for the file irisflower-1.0.1.tar.gz.

File metadata

  • Download URL: irisflower-1.0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for irisflower-1.0.1.tar.gz
Algorithm Hash digest
SHA256 d68bc091f94025a226e99e78d4845411266a9ddc980f58766c149b0242f5abe2
MD5 eac9481387a5dc7fbc52414aa970f1bc
BLAKE2b-256 a35894cbd3948bc8d304587b682e85c95b8a19e67db834eb68e02effa5d1f0b1

See more details on using hashes here.

Supported by

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