Giter VIP home page Giter VIP logo

nyc-connect's Introduction

NYC Connect - Taxi Demand Prediction System
Khyati Savakia
-------------------------------------------------------------------------------
This project includes implementation of K-Means, Naive Bayes and Logistic Regression
algorithms to predict areas with high taxi demand and also the surge charge that is 
likely to be imposed.
---------------------------------------------------------------------------------
Please find the below instructions to run the project on Hadoop cluster:

NAIVE BAYES & K-MEANS

1. Instruction to run on dsba-hadoop cluster:

$ spark-submiy NaiveBayes.py <input file name> <"Timeslot"> <"Day”>

For example: $ spark-submit NaiveBayes.py green_tripdata_2016-06.csv "3" "Wednesday"

LOGISTIC REGRESSION

1. Instruction to run on dsba-hadoop cluster:
$ spark-submit PredictionUsingLogisticReg.py  <input file name> <output file name>

For example:$ spark-submit PredictionUsingLogisticReg.py Testing_Dataset_taxi.csv /home/output

Web-Page for Project Report: http://webpages.uncc.edu/nbhirud/
Data set for the project is uploaded on the Dropbox:
green_tripdata_2016-06.csv: https://drive.google.com/file/d/0BwwRPutczcp1QzhaV01YRTg2MVE/view?usp=sharing
Testing_Dataset_taxi.csv: https://drive.google.com/file/d/0BwwRPutczcp1THJhV1Y3bE02OFU/view?usp=sharing

File: Training_Model_Logistic.py contains the code used for training the model to get weighted with highest accuracy.
File: NaiveBayes_Kmeans_Test_Train.py contains the code for training and testing our model with 80% and 20% data.







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.