Machine learning code with Sklearn in Python to predict the flower categories based on it size
- Download the Iris dataSet and put it in the same folder with the python source code
- In the source code you can change the name of the dataset in the following line:
df = pd.read_csv("IRIS.csv")
- You can download the dataset in the following website https://www.kaggle.com/arshid/iris-flower-dataset
The code has a list of many classifier and it will iterate through them and test the accuracy of each of them. It will save the result in a dictionary with the name and it accuracy.
Mario Khoury, Beirut Lebanon