GithubHelp home page GithubHelp logo

newsteps8 / air-pollution-forecast-based-on-dl-and-ml-models Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 753 KB

This repository has been created for air pollution forecast in the coming hours in Beijing.

Jupyter Notebook 100.00%
xgboost lstm-model time-series random-forest pandas rmse-score

air-pollution-forecast-based-on-dl-and-ml-models's Introduction

Air-Pollution-Forecast-Based-On-DL-and-ML-Models

This repository has been created for air pollution forecast in the coming hours in Beijing.

Feature Engineering

Two new featues are added to dataset. First feature is week_day feature that is based on a date weekday or weekend. I use this information, because of weekday has more air pollution using cars and industrial machines. Second feature is seasonal_rate that is based on a date winter, fall, spring or summer. There is more air pollution on winter and fall because of using coal and other fuels for warming.

Comments

Root Mean Square Error of Random Forest Regressor: 74.45430231198172 | Root Mean Square Error of XGBOOST Regressor: 65.8382656621441 | Root Mean Square Error of LSTM Sequential Model: 23.484

Best model is LSTM model. Because I convert the dataset to time series version based on multivarible and use a Sequential model on it. XGBOOST and Random Forest Regressor models errors must be less than above values. One of the reasons is XGBOOST is a Gradient boosting algorithm. So, Gradient boosting can be used to minimize any sensible loss function, and it is very effective in doing it. In addition, for XGBOOST and Random Forest Regressor models with hyperparemeter tuning, parameter values can be improved and better results can be obtained.

Also lstm model can be improved based on optimizer, more epochs and decreasing loss value of each iteration. I think RMSE value can be decreased around 10.0 - 20.0 values with the help of optimizations and better models.

air-pollution-forecast-based-on-dl-and-ml-models's People

Contributors

newsteps8 avatar

Stargazers

 avatar  avatar  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.