Predicting Air Pollution Levels in Mexico using AI

Local Chapter Mexico City, Mexico Chapter

Coordinated byMexico ,

Status: Completed

Project Duration: 04 Apr 2023 - 31 May 2023

Open Source resources available from this project

Project background.

The story behind this project is driven by the urgent need to address the problem of air pollution in Mexico City. Air pollution in Mexico City is a complex and multifaceted issue that has serious health and economic consequences for its residents.

The city has been struggling with air pollution for decades, and despite various efforts to reduce emissions and improve air quality, the problem persists. As a result, there is a pressing need for new and innovative approaches to tackle this issue and make a real impact.

According to a 2018 study by the Mexican Institute for Competitiveness, air pollution in Mexico City costs the economy approximately $10 billion per year in healthcare costs and lost productivity.

According to a 2020 report by the Mexico City government, air pollution was responsible for more than 9,000 premature deaths in 2019 in the Mexico City Metropolitan Area.

The problem.

The specific problem that this project aims to solve is to develop machine learning models that can predict air pollution levels in different parts of the city based on various factors such as weather data, traffic patterns, and industrial activity.

Project goals.

By providing more accurate and timely information on air pollution levels, the project can help policymakers and community leaders to make more informed decisions about policies and interventions to reduce air pollution in the city.This project aims to leverage the power of data and AI to better understand and potentially predict air pollution levels in Mexico City. By doing so, it can help inform policy decisions, raise public awareness, and ultimately reduce air pollution levels in the city.The project also has the potential to make a significant positive impact on public health and the economy. By reducing air pollution, it can improve the quality of life for residents, reduce healthcare costs, and increase productivity.

Project plan.

  • Week 1

    Data Gathering and Cleaning

    Identify and gather relevant data on air pollution levels in Mexico City from publicly available sources such as the Mexican government and international organizations.

    Clean and preprocess the data, including handling missing values and removing duplicates.

  • Week 2

    Exploratory Data Analysis and Visualization

    Conduct exploratory data analysis to understand the patterns and trends in the air pollution data.

    Visualize the data using tools such as Tableau to identify any correlations or trends.

  • Week 3

    Model Development and Evaluation. Develop machine learning models using scikit-learn to predict air pollution levels based on various factors such as weather data, traffic patterns, and industrial activity. Evaluate the performance of the models using appropriate metrics such as R-squared and mean squared error.

  • Week 4

    Project Presentation and Documentation. Create a final report summarizing the project and its results, including visualizations and explanations of the machine learning models. Present the project to stakeholders, including potential policy makers and community leaders, to showcase the potential impact of the project. Document the code and methodology used in the project for future reference and replication.

Learning outcomes.

Team members will develop technical skills in data analysis, machine learning, and data visualization using tools such as scikit-learn, folium, matplotlib, Tableau. Team members will gain a deeper understanding of air pollution and its causes and effects.

Share project on: