Skip to content

Using visibility as a proxy for air quality monitoring. A Bayesian and Rule-based approach.

Notifications You must be signed in to change notification settings

mghendi/airpollution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bayesian Model for Probabilistic Air Quality Detection

Using visibility as a proxy for weather and air quality monitoring. A Naive-Bayes and Rule-based approach.

Many urban areas in Africa do not have sufficient monitoring programs to understand their air quality. This study uses visibility as a proxy for PM pollution and the weather to provide insight into air pollution using a microcontroller.

image

This project includes five key files:

  • naive_bayes.py
  • airpollution.py
  • captureimage.py
  • sample_train.txt
  • sample_test.txt

Run python3 naive_bayes.py [train dataset] [test dataset] - to train and test the classifier.

Run python3 airpollution.py - to run the program on your pi.

About

Using visibility as a proxy for air quality monitoring. A Bayesian and Rule-based approach.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages