Git Product home page Git Product logo

wine-quality-prediction's Introduction

Wine-Quality-Prediction

Project Description

This project focuses on predicting the quality of wine samples using machine learning techniques. It involves a comprehensive data pipeline consisting of data ingestion, validation, transformation, model training, and evaluation stages.

Data Gathering Source

The dataset used in this project is sourced from Kaggle - Wine Quality Dataset. This dataset contains various attributes of wine samples, including fixed acidity, volatile acidity, citric acid, residual sugar, chlorides, free sulfur dioxide, total sulfur dioxide, density, pH, sulphates, alcohol, and quality.

Steps in the Project

  • Data Ingestion: The data ingestion process involves downloading the dataset and extracting it. This step ensures that the data is available for further processing.

  • Data Validation: In the data validation stage, the dataset is checked for consistency and correctness. Any anomalies or missing values are identified and handled to ensure data quality.

  • Data Transformation: Data transformation includes preprocessing the dataset for model training. This step involves tasks such as splitting the data into training and test sets, as well as any necessary feature engineering.

  • Model Training: The model training phase focuses on building and training a machine learning model using the preprocessed data. Various algorithms and techniques are applied to create a predictive model for wine quality.

  • Model Evaluation: Once the model is trained, it is evaluated using the test data to assess its performance. Metrics such as RMSE, MAE, and R2 score are calculated to measure the model's accuracy and effectiveness.

Project Overview

This project follows a structured approach to predict wine quality, starting from data ingestion to model evaluation. Each stage plays a crucial role in ensuring the success of the predictive model.

Installation

  1. Clone the repository:
git clone https://github.com/singh-manavv/Wine-Quality-Prediction.git
  1. Install the required dependencies listed in requirements.txt using:
pip install -r requirements.txt

Running the Project

  1. To Run all the pipeline process, execute the main script using python main.py in the project directory. This script orchestrates the sequential execution of the data pipeline stages.
  2. To run the Web App of this project , execute the app script using python app.py in the project directory. This script will start a flask web server and will run the web app.

Building and Running Dockerfile

  1. Build the Docker image using the provided Dockerfile:
docker build -t yourname/wine-quality-prediction .
  1. Run the Docker container to serve users:
docker run -d -p 8080:8080 yourname/wine-quality-prediction

Preview

Preview

License

MIT

wine-quality-prediction's People

Contributors

singh-manavv avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.