/Iris-Classification_scikit

Classification of Iris flowers using scikit-learn

Primary LanguagePython

Iris-Classification_scikit

Classification of Iris flowers using scikit-learn

This is a simple step-by-step program to import and visualize the iris dataset, and evaluate multiple models on that dataset. Then, we select the two best models and make predictions on validation dataset using those models.

The program has been run on Ubuntu 16.04 LTS with following libraries:

  • Python: 3.5.2 (default, Dec 4 2017, 14:50:18)
  • scipy: 1.2.0
  • numpy: 1.15.4
  • matplotlib: 3.0.2
  • pandas: 0.23.4
  • sklearn: 0.20.2

You can use the folllowing commands to install the libraries on ubuntu:

sudo apt-get install python-numpy python-scipy

sudo apt-get install python-matplotlib

sudo apt-get install ipython ipython-notebook

sudo apt-get install python-pandas

sudo apt-get install python-nose

sudo apt-get install python-sympy

sudo apt-get install python-sklearn


More detailed explanation of this exercise can be found on this blog by Jason Brownlee.