Git Product home page Git Product logo

hotelrecommendations's Introduction

CMPE256 - Large Scale Analytics - Final Project - Fall 2018

Hotel Recommendation

Dataset Link : https://www.kaggle.com/jiashenliu/515k-hotel-reviews-data-in-europe/home

Approach 1 folder contains UI components developed in Node.js, MongoDB and HTML/CSS

Approach 2 folder contains UI & python script to run the application

256 Project Notebook contains complete code of project for both the approaches.

Instructions for approach 1

  1. Install node from https://nodejs.org/en/ and mongo database from https://docs.mongodb.com/master/administration/install-community/
  2. Unzip the zip file we uploaded on Canvas to any folder
  3. Navigate to the folder you downloaded
  4. Run “npm install” to install all needed npm modules
  5. Run “npm start” command to start node server
  6. Start mongo database with the mongod command
  7. Add the hotel instances to the database by pasting below url into browser http://localhost:3000/addcombined Note: If you accidentally add twice you can drop the database using the Mongo shell (use hotel DB and then db.dropDatabase()
  8. Access main screen on below URL http://localhost:3000
  9. Test by checking out various combinations

Instructions for approach 2

  1. Install hotelrecommendations/Approach2_UI/requirments.txt using below command pip install -r hotelrecommendations/Approach2_UI/requirements.txt
  2. Modify the path to read the csv file in hotelrecommendations/Approach2_UI/app.py for example df = pd.read_csv(path where you have stored the csv file)
  3. To run the app type command python app.py To view the webpage go to http://127.0.0.0:5000

hotelrecommendations's People

Contributors

mariannepaulson avatar tdhappy avatar

Watchers

James Cloos avatar  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.