Django_webapp_iris_classification

Creating a Webapp using Django with Python to perform classification on iris followers dataset.

Steps

  • Creating a virtual environment
    python -m venev iris_api
    cd iris_api
    .\iris_api\Scripts\activate


  • Git Clone

    git clone https://github.com/Gangadharbhuvan/Django_webapp_iris_classification.git

  • Run

    Find path to manage.py file
    python manage.py runserver

Go to Localhost 8000 port, and change to prediction page, Copy the path and use Postman for request using POST method and enter the values for

  • sepal_length (values - min_value=4.3, max_value=7.9 )
  • sepal_width (values - min_value=2.0, max_value=4.4 )
  • petal_length (values - min_value=1.0, max_value=6.9 )
  • petal_width (values - min_value=0.1, max_value=2.5 )

Django REST Framework

Django REST Framewrok

Postman API results

Postman api