Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aureliusivan/iris-prediction-system

Predict Iris with mongodb 🌷
https://github.com/aureliusivan/iris-prediction-system

iris iris-classification iris-dataset knn mongodb

Last synced: about 2 months ago
JSON representation

Predict Iris with mongodb 🌷

Awesome Lists containing this project

README

        

# Iris Prediction System using MongoDB Atlas

![Iris Prediction System](./static/images/juliet-sarmiento-OBtrCoiKlZo-unsplash.jpg)

## Introduction
This project are meant to explore the uses of mongoDB atlas and how to connect it to a python application, while also utilize the benefits of virtual environment on python. The project is a simple machine learning model that predicts the species of iris flowers based on the length and width of the petals and sepals. The model is trained on the iris dataset which is a popular dataset for beginner machine learning projects. The dataset contains 150 samples of iris flowers and their corresponding species. The model is trained using the K-Nearest Neighbors algorithm which is a simple and easy to understand algorithm.

## Getting Started!
- Clone the repository
- Install the required packages using the following command
```bash
pip install -r requirements.txt
```
- Create a `.env` file in the root directory and add the following environment variables
```bash
MONGO_URI = "your_mongo_uri"
```

## Source
- Project Structure Inspiration: [dev.to](https://dev.to/luxacademy/generic-folder-structure-for-your-machine-learning-projects-4coe)
- Iris Dataset: [UCI Machine Learning Repository](https://archive.ics.uci.edu/ml/datasets/iris)
- MongoDB Atlas: [MongoDB](https://www.mongodb.com/cloud/atlas)
- K-Nearest Neighbors: [Wikipedia](https://en.wikipedia.org/wiki/K-nearest_neighbors_algorithm)
- Image Source: [Unsplash](https://unsplash.com/photos/purple-flower-in-tilt-shift-lens-OBtrCoiKlZo)