Giter VIP home page Giter VIP logo

ds6040_finalproject's Introduction

DS6040_FinalProject

Title: Wine Quality Analysis

Authors: Rory Black, Gargee Jagtap, Ali Roth

Synopsis

image of wine

Image from: https://negativespace.co/wine-tasting/

This notebook contains an analysis and Bayesian Machine Learning methods to predict wine quality based on the physicochemical properties included in the dataset. This artifact was produced for DS6040 at the University of Virginia, taught by Dr. Don Brown in the Fall of 2022. The 3 contributors are students in the Residential Masters of Science in Data Science at the University’s School of Data Science. The Data for this project comes from wines in the northern region of Portugal and was downloaded from Kaggle on November 29, 2022. The files, along with more information on the data collection and variables included, can be found here: https://www.kaggle.com/datasets/rajyellow46/wine-quality. Please note that this data originates from the UCI Machine Learning Repository.

Installation

To run this code, you need to have python installed on your machine. Start by downloading the code file, and the 2 wine csv files: WineQuality-RedWine.csv, and WineQuality-WhiteWine.csv. Make sure all 3 of these files are in the same folder on your computer. After doing the above, ensure that all the libraries at the top of the code file are installed on your machine. If not, install them by typing the following command in a code cell:

pip install *library*

The following libraries are needed:

  • numpy
  • pandas
  • matplotlib
  • pymc
  • arviz
  • sklearn
  • seaborn

Once all the libraries have been installed, you can now run the notebook.

Bayesian Overview

This notebook implements four machine learning models using Hamiltonian Monte Carlo Sampling. The final model, reduced_model is used to make predictions on a test set pulled from that data in a 70/30 split. Following the predictions, the code runs a variational inference approach on the reduced_model to compare results to the ones obtained by sampling in interest of examining the use of this less accurate, computationally simpler approach.

ds6040_finalproject's People

Contributors

ali-rivera avatar

Watchers

 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.