GithubHelp home page GithubHelp logo

smohan22 / fresh_dash Goto Github PK

View Code? Open in Web Editor NEW

This project forked from minjia-zhu/fresh_dash

0.0 1.0 0.0 174.12 MB

Jupyter Notebook 61.90% Python 0.27% Makefile 0.04% Shell 0.09% Batchfile 0.03% R 0.01% Java 37.63% HTML 0.05%

fresh_dash's Introduction

FreshDash

Using Yelp reviews to optimize restaurant inspection

Data Sources:

Code Structure

/Data

  • /features: features tables.
  • /Seattle: put raw Yelp review, merged inspection instances, and inspection record data here.

/Data Exploration

  • Link inspection record
  • Data cleaning
  • Exploratory analysis and visualization

/Feature Generation

  • /Ngram: code and output

  • /Topic Modeling:

    • code

    • visualization demo in Jupyter Notebook

    • mallet: to replicate labeled-LDA result, 1. use R code to generate rev_tm_violation_rating.txt. 2. run command below in the terminal:

    • bin/mallet import-file --input rev_tm_violation_rating.txt --output yelp-short.seq --stoplist-file yelp.stops --label-as-features --keep-sequence --line-regex '([^\t]+)\t([^\t]+)\t(.*)'
      
      bin/mallet run cc.mallet.topics.LabeledLDA --input yelp-short.seq --output-topic-keys yelp-llda.keys --output-doc-topics docsAsTopicsProbs.txt
      

      the output is rev_tm_violation_rating.txt

/Machine Learning Pipeline

  • /config: machine learning model training configuration yaml files

  • /mloutput: model evaluation output

  • classifiers.py: model training

    • python3 classifiers.py <config file path>
      
  • MagicLoop.ipynb: run classifiers.py in Jupyter Notebook for handy visualization and model comparison

Contributors

Ran Bi, Shambhavi Mohan, Minjia Zhu @Uchicago Harris, CAPP

fresh_dash's People

Contributors

minjia-zhu avatar ran-bi 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.