Code Monkey home page Code Monkey logo

contaminationforecast's Introduction

ContaminationForecast

This system is a Neural Network for pollution prediction of Mexico City

Installation

Pip dependency installation

Tensorflow

pip installl tensorflow

or

pip installl tensorflow-gpu

pip install pandas
pip install -U scikit-learn
pip install seaborn

Anaconda dependency installation

conda install -c jjhelmus tensorflow=0.12.0rc0
conda install -c anaconda tensorflow-gpu
conda install -c anaconda pandas=0.20.1
conda install -c anaconda scikit-learn=0.18.1
conda install seaborn

Quickstart

Create data from Netcdf files

This code will generate CSV files from NetCDFs of a metheorological forecast form the IOA group at the UNAM. It should also work for other WRF model outputs. python NetCDF/makeCsv.py

File involved:

  • NetCDF/NewBBOX.py
  • NetCDF/Dominio.py

Create holiday data

This code will generate a CSV file containing the Mexican holidays with these numbers: 0 = laboral, 1 = oficial, 2 = sep python Utilites/makeDayCsv.py

Input file:

  • Data/Festivos.csv

Output file:

  • Data/Festivos2019Merged.csv

Creation of table with pollutant data and data created previously

python saveData.py

File involved:

  • Utilites/FormatData.py
  • Utilites/Utilites.py
  1. Neural network training

auto.py

File involved:

  • NNSystem/neuralNetworkGpu.py
  • NNSystem/neuralNetwork.py
  • NNSystem/neuralNetworkGpuMax.py
  1. Neural network prediction

testPediction.py

File involved:

  • prediction.py

contaminationforecast's People

Contributors

pablopcg avatar pablocg0 avatar olmozavala avatar

Stargazers

 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.