Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bhaveshbhakta/fish-weight-prediction-using-ml
Fish Weight Prediction
https://github.com/bhaveshbhakta/fish-weight-prediction-using-ml
data-analysis data-visualization fish-weight-prediction gradient-boosting machine-learning
Last synced: 14 days ago
JSON representation
Fish Weight Prediction
- Host: GitHub
- URL: https://github.com/bhaveshbhakta/fish-weight-prediction-using-ml
- Owner: BhaveshBhakta
- Created: 2024-12-25T17:53:39.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2025-01-14T14:30:04.000Z (14 days ago)
- Last Synced: 2025-01-14T15:51:24.480Z (14 days ago)
- Topics: data-analysis, data-visualization, fish-weight-prediction, gradient-boosting, machine-learning
- Language: Jupyter Notebook
- Homepage:
- Size: 674 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fish Weight Prediction
## Project Overview
This project aims to predict the weight of different fish species based on their physical features such as length, height, and width. By utilizing various machine learning models, we develop a model that can accurately estimate fish weight, which can be valuable in industries like fisheries, environmental studies, and food production. The dataset used contains detailed measurements for various fish species, including Bream, Perch, Roach, and others.
## Technical Highlights
- **Data Loading**: The dataset is loaded using Pandas from a CSV file, containing 159 entries with 7 columns of fish attributes.
- **Data Visualization**: A variety of visualizations such as heatmaps, pair plots, and histograms are used to explore correlations and distributions of features.
- **Preprocessing**: Categorical variables are transformed using one-hot encoding, and the dataset is split into training and testing sets.
- **Model Training**: Multiple regression models, including Linear Regression, Ridge Regression, XGBoost, Random Forest, AdaBoost, Gradient Boosting, and Bagging, are used to predict fish weight.
- **Evaluation**: The models are evaluated using metrics like R2 score and Mean Squared Error (MSE), with Gradient Boosting Regressor showing the best performance.## Purpose and Applications
- **Fisheries and Aquaculture**: Predicting fish weight can help in estimating stock levels and improving the efficiency of breeding and harvesting processes.
- **Environmental Studies**: Understanding fish growth patterns and weight distributions in different ecosystems can assist in ecological monitoring.
- **Food Production and Retail**: Accurate weight predictions can support the pricing and quality control processes in the seafood industry.
## InstallationTo run this project on your local machine, you will need to install the following dependencies:
1. **Clone the repository**:
```bash
git clone https://github.com/BhaveshBhakta/Fish-Weight-Prediction-Using-ML.git
cd Fish-Weight-Prediction-Using-ML
```
2. **Run the Jupyter notebook**:## Collaboration
Contributions are welcome! Feel free to fork the repository, make improvements, and submit a pull request.