Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 🌷
- Host: GitHub
- URL: https://github.com/aureliusivan/iris-prediction-system
- Owner: AureliusIvan
- Created: 2024-03-17T14:42:51.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-10-02T12:07:34.000Z (3 months ago)
- Last Synced: 2024-10-10T19:28:52.077Z (2 months ago)
- Topics: iris, iris-classification, iris-dataset, knn, mongodb
- Language: Jupyter Notebook
- Homepage:
- Size: 1.56 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
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)