Git Product home page Git Product logo

hopscotch's Introduction

Require Python version 3.x

All scripts were run locally, as we had issues utilizing the cluster for our needs. Configuring the proper environment for Python was a hassle due to limited sudo privileges. While it was possible to install most libraries it could only be done as user.

This created issues because some notable libraries required an updated pip installation, and the provided pip version was not upgradable from a user level. Emailing with IT staff did not solve the situation easily. This is why we ended up relying largely on local machines to run our python scripts.

The order of scripts is as follows:

Yelp-scraper.py - reads in zip codes and to grab data and produce the resulting .json files

Clustering.py - takes in said .json and zip files and passes it’s data frame over for routing.

Routing.py - calculated proper paths and writes to most30.csv

Websocket.py - takes in the most30.csv and displays to gmapdirection.html.

You can view these results by opening said page in any modern browser with websocket.py running locally.

All required libraries are provided at the top of each script.

They include:

py-spark
gql
sklearn
matplotlib
or tools
pandas
websockets
asyncio

This is not an exhaustive list but the remainder should come with a standard Python installation.

hopscotch's People

Contributors

song-verse 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.