Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alphacrypto246/grape-quality-prediction
The Grape Quality Prediction project uses machine learning to predict the quality of grapes based on chemical properties like acidity, sugar content, and alcohol levels. It applies regression models to forecast the quality score, helping in wine production and quality assessment.
https://github.com/alphacrypto246/grape-quality-prediction
machine-learning numpy pandas scikit-learn scikitlearn-machine-learning
Last synced: about 2 months ago
JSON representation
The Grape Quality Prediction project uses machine learning to predict the quality of grapes based on chemical properties like acidity, sugar content, and alcohol levels. It applies regression models to forecast the quality score, helping in wine production and quality assessment.
- Host: GitHub
- URL: https://github.com/alphacrypto246/grape-quality-prediction
- Owner: alphacrypto246
- Created: 2024-12-05T09:54:06.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-06T09:26:10.000Z (about 2 months ago)
- Last Synced: 2024-12-06T10:27:57.952Z (about 2 months ago)
- Topics: machine-learning, numpy, pandas, scikit-learn, scikitlearn-machine-learning
- Language: Jupyter Notebook
- Homepage:
- Size: 3.15 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Grape Quality Prediction
This project uses machine learning to predict the quality of grapes based on various factors like acidity, sugar content, and other chemical properties. It demonstrates the use of regression models to predict the quality of wine grapes from a dataset that contains information about different chemical features.
## Dataset
The dataset used for this project contains various chemical properties of grapes and the target variable is the quality score. Key features include:
- **Fixed Acidity**: Amount of tart taste.
- **Volatile Acidity**: Affects the taste and smell.
- **Citric Acid**: Contributes to the taste and freshness.
- **Residual Sugar**: Sugar remaining after fermentation.
- **Chlorides**: Salt concentration.
- **Free Sulfur Dioxide**: Preservative.
- **Total Sulfur Dioxide**: Overall sulfur content.
- **Density**: Weight of the liquid.
- **pH**: Measure of acidity.
- **Sulphates**: Impact on flavor.
- **Alcohol**: Alcohol content of the wine.
- **Quality**: Target variable, indicating the quality of the grape (1-10).## Technologies Used
- **Python**: For data analysis and modeling.
- **Pandas**: For data manipulation and preprocessing.
- **Scikit-learn**: For implementing regression models.
- **Matplotlib** & **Seaborn**: For data visualization.## Steps
1. **Data Preprocessing**: Clean and preprocess the data (handling missing values, encoding categorical variables, etc.).
2. **Model Training**: Use machine learning regression models (e.g., Decision Tree, Random Forest) to train the model on the dataset.
3. **Evaluation**: Evaluate the model using performance metrics such as R² score and Mean Absolute Error (MAE).
4. **Prediction**: Use the trained model to predict grape quality based on input features.## How to Run
1. Clone the repository:
```bash
git clone https://github.com/alphacrypto246/Grape-Quality-Prediction.git
```2. Install the required dependencies:
```bash
pip install -r requirements.txt
```3. Run the Jupyter notebook:
```bash
jupyter notebook main.ipynb
```## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.