Coder Social home page Coder Social logo

tollroad's Introduction

TollRoad

Final Project in Big Data course

To run the program on the localhost in Windows:

  1. install npm.
  2. install from redis site the redis image.
  3. run Redis image on Docker with the 6379 port.
  4. run command $ node app.js or $ npm start in the program terminal.
  5. go to http://localhost:3000 and have fun 😊🚗

• The system will enable the management of sections of the toll road, 5 sections in which vehicles enter and exit regularly.

We built a simulator that simulates a toll road with details of vehicles that enter and exit the road, such as: entrance section, type of vehicle, day of the week, etc ..

The simulator sends the data to Kafka who creates a message queue of the vehicles, Kafka routes the information to MongoDB and Redis, When the Redis shows us the vehicles that are in real time on the road and their movement and the MongoDB keeps all the vehicles driving on the road in total.

In the dashboard we will display the information taken from the Redis that run on the Docker.

The data from MongoDB will be taken and saved in a csv file that will be sent to bigML which we will use to create a learning model which will give us the prediction of the exit section of each vehicle.

http://localhost:3000/fetch will be create a new csv file for a new model.

• At any moment you can know the number of vehicles in each section.

image

• The system display on a dashboard the current number of vehicles and will allow you to request a breakdown of the list of vehicles.

image

• There is also an option to see how many vehicles there are on the road by brands at any given moment.

image

• There is also an option to see how many vehicles there are on the road by types at any given moment.

image

• There is also an option to see how many vehicles there are on the road by days at any given moment.

image

• Kafka (example):

image

• MongoDB (examle):

image

• The system build a decision model based on a decision tree with bigML: given the details of the road section, brand of the vehicle, day of the week and time vehicle entry, a prediction will be made about which section the vehicle will exit.

• bigML decision tree:

image

• Matrix Confusion:

image

Diagram showing technological mapping of the system:

image

tollroad's People

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.