GithubHelp home page GithubHelp logo

crissherban / pollen Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 1.64 MB

Pollen studies the relationships between weather conditions and pollen concentration with Bayesian Networks

Python 2.71% Jupyter Notebook 97.29%
bayesian-networks python pgmpy pollen allergies

pollen's Introduction

Pollen

Open In Colab

Table of Contents

About The Project

Pollen is a project that aims at finding and understanding how pollen concentration is affected by weather. The main idea stands in the usage of Bayesian Networks that effectively explain out the relationships in the model. The dataset used is built thanks to information gathered from different sources such as POLLNET and ilMeteo for the city of Florence, Italy. In particular the following attributes are taken into consideration:

  • Wind
  • Wind Direction
  • Temperature
  • Pollen Concentration
  • Precipitations

Check more in the Report HERE.

Prerequisites

To get a local copy up and running follow these simple steps.

The project provides a Pipfile file that can be managed with pipenv.
pipenv installation is strongly encouraged in order to avoid dependency/reproducibility problems.

  • pipenv
pip install pipenv

Installation

  1. Clone the repo
git clone https://github.com/CrisSherban/Pollen
  1. Enter in the project directory and install Python dependencies
cd Pollen
pipenv install

Usage

Here's a brief description of the files and a directory tree:

* datasets      (directory for datasets ) 
* out           (directory containing output graphs )
* resources     (directory containing partial datasets and original files)
* src
    * creates_dataset.py: creates dataset from files in resources directory.
    * get_pol.py: selenium scraper that downloads pollen concentration from Pollnet.
    * network.ipynb: main file with documented outputs.

Output Network:

Results

We can appreciate that we can now understand from the model that mid/high temperature is linked with an incresed concentration of grass pollen.

Authors

Acknowledgments

FAIKR-3 © Course held by Professor Paolo Torroni

pollen's People

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.