Git Product home page Git Product logo

zayn-rekhi / gettheregreen Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 105.97 MB

Here is the link to our website. We really enjoyed making this website and are excited to share it with you!

Home Page: https://gettheregreen.ml/

License: GNU General Public License v3.0

Python 59.89% HTML 4.75% TypeScript 35.35%
django react keras tensorflow typescript python epa green air machine-learning

gettheregreen's Introduction

Get There Green Logo

GetThereGreen - Our Solution to Air Pollution

GetThereGreen is an interactive simulation where users can see how their commute to work affects the quality of the air around them.

https://gettheregreen.ml

Architecture

Diagram of Get There Green architecture

The API is hosted on a Raspberry Pi. This runs NGINX, Django, and TensorFlow in order to return predictions back to the frontend. The frontend is made in React/Typescript and hosted on Firebase

Machine Learning

We used Tensorflow/Keras in order to create 4 highly accurate model (Multi-Layer Perceptron) that predicts the concentration of Sulfur Dioxide, Nitrogen Dioxide, Carbon Monoxide, and Surface Level Ozone. The input data that wes used was acquired from the US Census data database under the specific header of B08301. The air quality data was acquired from the EPA (United States Environmental Protection Agency) and is used as the labels for our training data.

Navigate our repository

Website Code

The React code is stored in the app/ directory. You will find the components and such in app/src, while metadata and other information is stored in public/src

How to Navigate The Repository

API

The API folder is an API (Application Programming Interface) was created using the DJANGO Web Framework. Machine Learning models are stored in the api/models folder where all the models have been zipped in order to save data for the repository. Most of the backend code that is used to process the incoming POST request is written in the api/prediction/views.py file. In order to run the following api, do the following:

1. Install Dependencies:
  pip3 install -r requirements.txt
2. Make Migrations: 
  python3 manage.py makemigrations
  python3 manage.py migrate

NETWORK

In the Network folder, the models were trained and the data was cleaned. Firstly, the census.py file located in network is used in order to clean the data that is used to be fed into the Machine Learning algorithm. The main.py file is the testing file in whcih the models were created and functions that are used to format the predictions of the neural network were made.

gettheregreen's People

Contributors

joeysorkin avatar zayn-rekhi avatar

Stargazers

 avatar  avatar

Watchers

 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.