Skip to content

asavaritayal/predict-iris-function-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

predict-iris-function-app

Predict the species of an Iris flower given it's proportions.

Requirements

  • Python3.6.x
  • Azure Functions Core Tools

Get Started

Create and activate a virtual environment

Run the following commands to create and activate a virtual environment named .env.

# In Bash
python3.6 -m venv env
source env/bin/activate

# In PowerShell
py -3.6 -m venv env
env\scripts\activate

Setup your app

git clone https://github.com/asavaritayal/predict-iris-function-app.git
cd predict-iris-function-app
pip install -r requirements.txt
func host start

Test

curl -w '\n' 'http://localhost:7071/api/predictspecies?plen=2.0&pwid=2.0&slen=2.0&swid=2.0'

About

Predict the species of an Iris flower given it's proportions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages