top of page
About the Model

     The model used on this website serves to predict the air quality in the world's countries. It was developed using two different machine-learning algorithms: Logistic Regression and Random Forest Classifier.

     In order to test the accuracy of each of these models, a dataset, taken from Kabble, which contains the status and Air Quality Index (AQI) value for each country, was split into training and testing sets (see the mean of the dataset below).

     With the testing, both models were proved to be 100% accurate, as it can be seen in the confusion matrixes below.

air-quality-index-numerical-scale-vector-24061819.jpg

Mean of the dataset used

baixados.png

Confusion Matrix for Logistic Regression

baixados 1.png

Confusion Matrix for Random Forest Classifier

bottom of page