Wine Quality Prediction using Machine Learning in Python

In this project, we are going to predict different qualities of wine using different ML models.


Each project comes with 2-5 hours of micro-videos explaining the solution.

Code & Dataset

Get access to 50+ solved projects with iPython notebooks and datasets.

Project Experience

Add project experience to your Linkedin/Github profiles.

What will you learn

  • Importing necessary libraries and loading the dataset

  • Concatenating the dataset for better understanding of the dataset

  • Understanding different datatypes

  • Using info function for basic EDA and making necessary datatype conversions

  • Using seaborn for plotting graphs and understanding the skewness of some feature columns

  • Plotting box plot for understanding Outliers

  • Calculating the Outliers and handling them

  • Checking skewness of the target variable

  • Balancing the unbalanced target variables by replacing with closest neighbors

  • Splitting the dataset for Train and Test using train_test_split

  • Applying Logistic Regression for Prediction

  • Using Classification report and Confusion matrix for analysis of the prediction

  • Applying GridSearchCV on LogisticRegression for hyperparameter tuning

  • Using non-linear model Decision Tree for prediction

  • Applying GridSearchCV on Decision Tree for hyperparameter tuning

  • Using feature_importance function for selecting the best feature for Decision Tree

  • Applying SVC for classification

  • Defining different parameters for GridSearchCV and using different functions for classification

  • Selecting the best model on the basis of the scores and making the final predictions

Project Description

The inputs include objective tests (e.g. PH values) and the output is based on sensory data (median of at least 3 evaluations made by wine experts). Each expert graded the wine quality between 0 (very bad) and 10 (very excellent). The objective is to predict the wine quality classes correctly.

Similar Projects

Big Data Project Music Recommendation System Project using Python and R
Machine Learning Project - Work with KKBOX's Music Recommendation System dataset to build the best music recommendation engine.
Big Data Project Perform Time series modelling using Facebook Prophet
In this project, we are going to talk about Time Series Forecasting to predict the electricity requirement for a particular house using Prophet.
Big Data Project Predict purchase amount of customers against various products
In this project, we will build a model to predict the purchase amount of customers against various products which will help a retail company to create personalized offer for customers against different products.
Big Data Project Predicting Loan Default
In this project, we will automate the loan eligibility process (real-time) based on customer details while filling the online application form.