The aim of the iris flower classification is to predict flowers based on their specific features.
- The iris dataset contains three classes of flowers, Versicolor, Setosa, Virginica, and each class contains 4 features, ‘Sepal length’, ‘Sepal width’, ‘Petal length’, ‘Petal width’.
- The dataset contains 150 samples with 3 classes of iris flowers (50 samples for each class).
- Numpy- 1.19.3
- Matplotlib- 3.3.2
- Seaborn – 0.11.1
- Pandas – 1.2.4
- Scikit-learn – 0.24.2
- Load the data
- Analyze and visualize the dataset
- Model training.
- Model Evaluation.
- Testing the model.
- Download iris.csv and save it in the project directory.
- Run the Iris flower classification.ipynb file, which contains the code for data preprocessing, model training, and evaluation.
- The script will load the dataset, preprocess the data, split it into training and testing sets, train a linear regression model, and evaluate its performance.
- After the model training is completed, it will predict flowers based on their specific features.
Contributions to this project are welcome. If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
For any questions or inquiries, please contact [[email protected]].