https://github.com/nneji123/penguin-species-prediction-app
A Penguin Species Prediction App made with Python and Streamlit
https://github.com/nneji123/penguin-species-prediction-app
Last synced: 8 months ago
JSON representation
A Penguin Species Prediction App made with Python and Streamlit
- Host: GitHub
- URL: https://github.com/nneji123/penguin-species-prediction-app
- Owner: Nneji123
- License: mit
- Created: 2022-05-29T22:43:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-06T11:08:56.000Z (over 3 years ago)
- Last Synced: 2025-03-02T01:33:35.986Z (8 months ago)
- Language: Jupyter Notebook
- Size: 2.73 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Penguin-Species-Prediction-App
A web application made with python and streamlit to predict the species of penguin given the input features.[](https://www.python.org)
[](http://www.streamlit.com)

## Problem Statement
The goal of this project was to develop a machine learning classifier model that could accurately predict the species of penguin namely;
1. Chinstrap
2. Adelie
3. GentooThe predictions were based on the following features:
1. culmen_length_mm
2. culmen_depth_mm
3. flipper_length_mm
4. body_mass_g
5. sex/gender## Preview
## Data
The data used was gotten from this repository [GitHub](https://github.com/allisonhorst/penguins))## Algorithm Used
In this project I used two different Logistic Regression classifier approaches
1. One vs One Approach:
One-vs-all classification is a method which involves training distinct binary classifiers, each designed for recognizing a particular class.2. One vs Rest Approach:
One-vs-rest (OvR for short, also referred to as One-vs-All or OvA) is a heuristic method for using binary classification algorithms for multi-class classification. It involves splitting the multi-class dataset into multiple binary classification problems.The final model used for the app was the One vs One Classifier which had the best accuracy.
## Requirements
To run a demo do the following:
1. Clone the repository.
2. Install the requirements from the requirements.txt file:
```py
pip install -r requirements.txt
```
3. Then from your command line run:
```py
streamlit run penguin_predictor_app.py
```
Then you can view the site on your local server.## Deployment
The app was made and deployed with streamlit and streamlit cloud.Streamlit is an open source app framework in Python language. It helps us create web apps for data science and machine learning in a short time. It is compatible with major Python libraries such as scikit-learn, Keras, PyTorch, SymPy(latex), NumPy, pandas, Matplotlib etc.
**The live link can be seen here:**
https://share.streamlit.io/nneji123/penguin-species-prediction-app/main/penguin_predictor_app.py