Skip to content

AK3847/Flower-Species-Prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flower Predictor

A Machine Learning model to classify various flower types based on the Iris Dataset using Decision Tree Classification.
This project was made by Abdul Kadir for the Internship at Coding Samurai

How to use:

  • Clone the repository
  git clone https://github.com/AK3847/Flower-Species-Prediction.git
  • Navigate to the main folder and install the requirements:
  pip install -r requirements
  • Run the main.py file:
  python main.py
  • Either train a new model or use a pre-trained model: image

  • You can import a pre-trained model which should be in .joblib format

  • You can also find accuracy of the trained model: image

  • You can save the new trained model in .joblib format: image

    File name format: 'model_statenumber'

Python Library used:

numpy
pandas
scikit-learn
scipy
joblib