/flaskRestML

messing with flask rest api with toy example (Iris dataset)

Primary LanguagePython

Iris classifier restfull server

Server

  • pull repository
  • type:
    python src/app.py

Client

  • with httpie (you can also use curl -d):
    http http://127.0.0.1:5000/ sepal_length=="5.1" sepal_width=="3.8" petal_length=="1.9" petal_width=="0.4"