a machine learning approach for ozone forecasting and its...

15
A Machine Learning Approach for Ozone Forecasting and its Application for Tri-Cities Kai Fan 1 , Ranil Dhammapala 2 , Brian Lamb 1 , Ryan Lamastro 3 , Yunha Lee 1 1 Laboratory for Atmospheric Research, Civil and Environmental Engineering, Washington State University 2 Washington State Department of Ecology 3 State University of New York at New Paltz

Upload: others

Post on 10-Sep-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A Machine Learning Approach for Ozone Forecasting and its ...lar.wsu.edu/nw-airquest/docs/20190611_meeting/NWAQ...2019/06/11  · A Machine Learning Approach for Ozone Forecasting

A Machine Learning Approach for Ozone Forecasting and its Application for Tri-Cities

Kai Fan1, Ranil Dhammapala2, Brian Lamb1,

Ryan Lamastro3, Yunha Lee1

1Laboratory for Atmospheric Research,

Civil and Environmental Engineering, Washington State University2Washington State Department of Ecology3State University of New York at New Paltz

Page 2: A Machine Learning Approach for Ozone Forecasting and its ...lar.wsu.edu/nw-airquest/docs/20190611_meeting/NWAQ...2019/06/11  · A Machine Learning Approach for Ozone Forecasting

Machine Learning Models• Machine Learning is an application of artificial intelligence

that lets the model learn from historical data and then make future forecasts

• Our approach uses multiple linear regression (MLR) model and random forest (RF) model

• Multiple linear regression fits a line between multiple independent variables and one dependent variable

• Random forest is the average result of many decision trees

1

Page 3: A Machine Learning Approach for Ozone Forecasting and its ...lar.wsu.edu/nw-airquest/docs/20190611_meeting/NWAQ...2019/06/11  · A Machine Learning Approach for Ozone Forecasting

Machine Learning Scheme for the Kennewick Monitoring Site

2

2015-2017 WRF met (T, P, RH, U, V, PBLH) + time info (month, weekday, hour) + previous day’s observed O3

ML Model2018 WRF met + time info + previous day’s observed O3

Training

Evaluation

2018 observed O3

Page 4: A Machine Learning Approach for Ozone Forecasting and its ...lar.wsu.edu/nw-airquest/docs/20190611_meeting/NWAQ...2019/06/11  · A Machine Learning Approach for Ozone Forecasting

RF classifier + MLR Modeling Framework

• RF approach does a good job on classification• MLR approach shows better performance to predict high O3 days

WRF met (T, P, RH, U, V, PBLH) + time info (month, weekday, hour)+ previous day’s 8-hr avg. O3

RF Classifier Model(RFc)

AQI categories

MLR Model

8-hr avg. O3 pred.

Daily max. 8hr O3and AQI

3

Page 5: A Machine Learning Approach for Ozone Forecasting and its ...lar.wsu.edu/nw-airquest/docs/20190611_meeting/NWAQ...2019/06/11  · A Machine Learning Approach for Ozone Forecasting

Obs. AQI (days)1 2 3 4

Model pred. AQI

(days)

1 98 10 0 02 5 13 3 13 0 1 0 04 0 0 0 0

Modeling Framework RFr+MLR vs. RFc+MLR

Obs. AQI (days)1 2 3 4

Model pred. AQI

(days)

1 100 15 0 12 3 9 3 03 0 0 0 04 0 0 0 0 4

Observed AQI vs. predicted AQI

Model vs. Obs. Daily max. O3

Page 6: A Machine Learning Approach for Ozone Forecasting and its ...lar.wsu.edu/nw-airquest/docs/20190611_meeting/NWAQ...2019/06/11  · A Machine Learning Approach for Ozone Forecasting

Two-phase RF Modeling Framework*

WRF met (T, P, RH, U, V, PBLH) + time info (month, weekday, hour)+ previous day’s hourly O3

RF regression Model 1

RF regression Model 2

Hourly O3 pred.Daily max. 8hr O3and AQI

Correctly predicted Not correctly predicted

__________* Jiang, N., & Riley, M. L. (2015). Exploring the utility of the random forest method for forecasting ozone pollution in SYDNEY. Journal of Environment Protection and Sustainable Development, 1(5), 245-254.

RF 1 & 2 output based on the

whole training data

Weight factor calculationObs = a1*RF1 + a2*RF2

low med high

5

Page 7: A Machine Learning Approach for Ozone Forecasting and its ...lar.wsu.edu/nw-airquest/docs/20190611_meeting/NWAQ...2019/06/11  · A Machine Learning Approach for Ozone Forecasting

RF 1 RF 2 Two-phase RF

NMB_high -7.6% -6.1% -2.8%

Weight Factor RF 1 RF 2Low

(0 – 40 ppb) -0.9 1.9

Medium (40 – 60 ppb) -1.4 2.4

High (>60 ppb) -1.1 2.1

6

Page 8: A Machine Learning Approach for Ozone Forecasting and its ...lar.wsu.edu/nw-airquest/docs/20190611_meeting/NWAQ...2019/06/11  · A Machine Learning Approach for Ozone Forecasting

Obs. AQI (days)1 2 3 4

Model pred. AQI

(days)

1 100 15 0 12 3 9 3 03 0 0 0 04 0 0 0 0

Modeling Frameworks Evaluation

Obs. AQI (days)1 2 3 4

Model pred. AQI

(days)

1 98 10 0 02 5 13 3 13 0 1 0 04 0 0 0 0

Obs. AQI (days)1 2 3 4

Model pred. AQI

(days)

1 85 9 0 02 11 11 1 13 0 1 2 04 0 0 0 0 7

Observed AQI vs. predicted AQI

Model vs. Obs. Daily max. O3

Page 9: A Machine Learning Approach for Ozone Forecasting and its ...lar.wsu.edu/nw-airquest/docs/20190611_meeting/NWAQ...2019/06/11  · A Machine Learning Approach for Ozone Forecasting

Modeling Frameworks Evaluation

Obslow

Obshigh

Modellow 127 4

Modelhigh 0 0

Obslow

Obshigh

Modellow 125 4

Modelhigh 2 0

Obslow

Obshigh

Modellow 116 2

Modelhigh 1 2

RFr+MLR RFc+MLR Two-phase RFFalse alarm rate 0 1.6% 0.8%

Failed to raise alarm 100% 100% 50%

8

Model prediction accuracy (days)

Failure rates between three modeling frameworks

Page 10: A Machine Learning Approach for Ozone Forecasting and its ...lar.wsu.edu/nw-airquest/docs/20190611_meeting/NWAQ...2019/06/11  · A Machine Learning Approach for Ozone Forecasting

Tri-Cites Ozone Forecast (RFc+MLR vs. Two-phase RF)

Uncertainty = 1.53% Uncertainty = 2.48%

Obslow

Obshigh

Modellow 46 5

Modelhigh 3 4

Obslow

Obshigh

Modellow 50 8

Modelhigh 1 1

9

R2 = 0.3 R2 = 0.36

Time series of daily max. O3

Page 11: A Machine Learning Approach for Ozone Forecasting and its ...lar.wsu.edu/nw-airquest/docs/20190611_meeting/NWAQ...2019/06/11  · A Machine Learning Approach for Ozone Forecasting

Tri-Cites Ozone Forecast

72-h ensemble UW-WRF forecast

parameters for Kennewick

Previous day’s measured ozone

for Kennewick

ML modeling framework

10

AQI forecasts

Daily max. O3 forecasts

Page 12: A Machine Learning Approach for Ozone Forecasting and its ...lar.wsu.edu/nw-airquest/docs/20190611_meeting/NWAQ...2019/06/11  · A Machine Learning Approach for Ozone Forecasting

The pollution rose showing light NNE winds tend tocoincide with high O3 11

Observation Model

The pollution rose (hourly O3 > 60 ppb)

Page 13: A Machine Learning Approach for Ozone Forecasting and its ...lar.wsu.edu/nw-airquest/docs/20190611_meeting/NWAQ...2019/06/11  · A Machine Learning Approach for Ozone Forecasting

Imbalanced data problem

Year Simulated days

AQI days High AQI ratio (>2)

1 2 3 4

2015 94 68 22 4 0 4%2016 133 113 18 2 0 2%2017 100 62 31 7 0 7%2018 138 108 25 4 1 4%Total 465 351 96 17 1 4%

12

Page 14: A Machine Learning Approach for Ozone Forecasting and its ...lar.wsu.edu/nw-airquest/docs/20190611_meeting/NWAQ...2019/06/11  · A Machine Learning Approach for Ozone Forecasting

Summary

• The RFr+MLR model underestimates the O3 mixing ratios and cannot capture the high O3 days

• The model with RF classifier and MLR does not improve the high ozone day prediction compared with RFr+MLR

• The model with 2-phase RF regression can capture half high O3

days in 2018 and perform well in 2019

• The imbalanced dataset makes it difficult to predict high O3

days

• The light NNE winds tend to coincide with high O3. In future, this will be considered in the model

13

Page 15: A Machine Learning Approach for Ozone Forecasting and its ...lar.wsu.edu/nw-airquest/docs/20190611_meeting/NWAQ...2019/06/11  · A Machine Learning Approach for Ozone Forecasting

Thank you!