Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages