<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Insights for Wellbeing: Predicting PM10 Values Using Stacking Ensemble Model</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Huu-Vinh Nguyen</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Thi Thuy Nga Duong</string-name>
          <email>dttnga_cntt@hcmunre.edu.vn</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>University of Information Technology</institution>
          ,
          <addr-line>Ho Chi Minh City</addr-line>
          ,
          <country country="VN">Vietnam</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University of Natural Resources and Environment</institution>
          ,
          <addr-line>Ho Chi Minh City</addr-line>
          ,
          <country country="VN">Vietnam</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2021</year>
      </pub-date>
      <fpage>13</fpage>
      <lpage>15</lpage>
      <abstract>
        <p>In this paper, we present our ISRS-HCMUNRE team's contribution to the task Insight for Wellbeing: Cross-Data Analytics for (transboundary) Haze Prediction at MediaEval 2021. We extracted diferent types of useful attributes for the problem: the weather data, the location features, the air pollution data on the data sets provided. We applied stacking method, deep learning models, machine learning model for prediction PM10 values at diferent locations for sub task 1.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>INTRODUCTION</title>
      <p>
        In many countries over the world, the prediction of air pollution is
getting more attention. In this study, we aim to utilize deep learning
and machine learning approach using insights from data provided
by the organizer to predict the PM10 value, as given in the task
1 description of the competition MedialEval 2021 [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. This task’s
primary motivation in to predict PM10 values for 3 days ahead. In
this sub task, we explore the correlation between the PM10 value
and the features we extracted from data set.
      </p>
    </sec>
    <sec id="sec-2">
      <title>METHODOLOGY</title>
    </sec>
    <sec id="sec-3">
      <title>Data Pre-processing</title>
      <p>
        The dataset for task 1 includes weather data (temperature,
humidity, wind speed. . . ) and PM10 values for three countries: Thailand,
Brunei and Singapore with many data points have zero value,
unreasonably large or missing. They are called anomalies or outliers,
which have to be preprocessed before extracting features. We
calculated average values by day for each weather attributes if they
collected by hour. We dealt with missing value by filling them with
mean, zero [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>We used Box plot method to determine the outliers. By using
this method, we also found the max value and the min data range
and moved outlier values into this range by setting them equals the
max value or the min value.
The number of weather attributes data provided is diferent for
each country, they are important for predicting the PM10 values.</p>
      <p>2.2.1 Timestamp features. For Brunei dataset, the weather
attributes collected by day except wind speed values collected by
hour. We calculated the average wind speed by day and put all
weather attributes to train models.
3</p>
    </sec>
    <sec id="sec-4">
      <title>MODELING</title>
      <p>For training an appropriate model for the problem, we split raw
dataset of each country into training and testing datasets following
the time value. The training data contains 80 percent of data points
and the testing dataset contains 20 percent.</p>
      <p>
        For predicting PM10 values, we built two models called
mainmodel and sub-model. We use weather data from three days before
to predict three days ahead. The main-model is a stacked model [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]
including three deep learning models: Long Short-Term Memory
(LSTM)[
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], Bi-directional (Bi-LSTM), Gate Recurrent Unit (GRU)[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]
and a machine learning model: Linear Regression. The sub-model
is a LSTM model that we used to predict PM10 values if there are
missing weather data points in result data file. The data for training
sub-model is only PM10 values from days before.
4
To enhance the prediction result, we employed the stacked
generalization technique. The stacked model has two levels: level 0 and
level 1. The level 0 data is the training dataset inputs and level 0
models learn to make predictions from this data. The level 1 input
data is the output of level 0 models and the single level 1 model, or
meta-learner to make predictions form this data.
      </p>
      <p>We utilized three models: LSTM, Bi-LSTM, GRU, as level 0
models. We used Linear Regression model as level 1 model for final
prediction.</p>
    </sec>
    <sec id="sec-5">
      <title>5 PERFORMANCE METRICS</title>
      <p>For evaluating the performance on the proposed methods, we use
root mean square error (RMSE), mean absolute error (MAE), as
follows:
v
u
t 1 Õ</p>
      <p>=1
 =</p>
      <p>( − ˆ)2
1 Õ
 = (  ) =1 | − ˆ |
Where ˆ is the ℎ predicted value from model, ¯ is the average of
observed values, and  is ℎ observed value, (i = 1, . . . , N).</p>
    </sec>
    <sec id="sec-6">
      <title>6 RESULTS AND DISCUSSION</title>
      <p>After extracting the necessary information, we evaluated four deep
learning models: LSTM, Bi-LSTM, GRU, single variable LSTM and
stacking model on testing data set. The table 1,2,3 show the RMSE,
MAE score for each air quality station.</p>
      <p>There are a lot of data points missing in Thailand and Singapore
data sets leads to the testing result in poor performance.
Lifelogging for wellbeing</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Denis</given-names>
            <surname>Cousineau</surname>
          </string-name>
          and
          <string-name>
            <given-names>Sylvain</given-names>
            <surname>Chartier</surname>
          </string-name>
          .
          <year>2010</year>
          .
          <article-title>Outlier detection and treatment: a review</article-title>
          .
          <source>International Journal of Psychological Research</source>
          (
          <year>2010</year>
          ),
          <fpage>58</fpage>
          -
          <lpage>67</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Dat</surname>
            <given-names>Q.</given-names>
          </string-name>
          <string-name>
            <surname>Duong</surname>
          </string-name>
          ,
          <string-name>
            <surname>Quang M. Le</surname>
          </string-name>
          ,
          <string-name>
            <surname>Tan-Loc</surname>
            Nguyen-Tai,
            <given-names>Hien D.</given-names>
          </string-name>
          <string-name>
            <surname>Nguyen</surname>
          </string-name>
          ,
          <string-name>
            <surname>Minh-Son Dao</surname>
          </string-name>
          , and
          <string-name>
            <surname>Binh</surname>
            <given-names>T.</given-names>
          </string-name>
          <string-name>
            <surname>Nguyen</surname>
          </string-name>
          .
          <year>2021</year>
          .
          <article-title>An Efective AQI Estimation Using Sensor Data and Stacking Mechanism</article-title>
          .
          <source>In New Trends in Intelligent Software Methodologies, Tools and Techniques - Proceedings of the 20th International Conference on New Trends in Intelligent Software Methodologies, Tools and Techniques</source>
          , SoMeT
          <volume>202</volume>
          ,
          <string-name>
            <surname>Cancun</surname>
          </string-name>
          , Mexico,
          <fpage>21</fpage>
          -
          <lpage>23</lpage>
          September,
          <source>2021 (Frontiers in Artificial Intelligence and Applications)</source>
          ,
          <source>Hamido Fujita and Héctor Pérez-Meana (Eds.)</source>
          , Vol.
          <volume>337</volume>
          . IOS Press,
          <fpage>405</fpage>
          -
          <lpage>418</lpage>
          . https://doi.org/10.3233/FAIA210040
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Asem</given-names>
            <surname>Kasem</surname>
          </string-name>
          ,
          <string-name>
            <surname>Minh-Son</surname>
            <given-names>Dao</given-names>
          </string-name>
          , Efa Nabilla Aziz,
          <string-name>
            <surname>Duc-Tien</surname>
            <given-names>DangNguyen</given-names>
          </string-name>
          , Cathal Gurrin ,
          <string-name>
            <surname>Minh-Triet</surname>
            <given-names>Tran</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Thanh-Binh Nguyen</surname>
            , and
            <given-names>Wida</given-names>
          </string-name>
          <string-name>
            <surname>Suhaili</surname>
          </string-name>
          .
          <source>Overview of MediaEval</source>
          <year>2021</year>
          :
          <article-title>Insights for Wellbeing Task Cross-Data Analytics for Transboundary Haze Prediction</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Jung-Hwan</surname>
            <given-names>Park</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Seong-Joon</surname>
            <given-names>Yoo</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kyung-Joong</surname>
            <given-names>Kim</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yeong-Hyeon</surname>
            <given-names>Gu</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Keon-Hoon Lee</surname>
          </string-name>
          , and
          <string-name>
            <surname>U-Hyon Son</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>PM10 density forecast model using long short term memory</article-title>
          .
          <source>In 2017 Ninth International Conference on Ubiquitous and Future Networks (ICUFN)</source>
          .
          <volume>576</volume>
          -
          <fpage>581</fpage>
          . https: //doi.org/10.1109/ICUFN.
          <year>2017</year>
          .7993855
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Guang</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>HwaMin</given-names>
            <surname>Lee</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Giyeol</given-names>
            <surname>Lee</surname>
          </string-name>
          .
          <year>2020</year>
          .
          <article-title>A Hybrid Deep Learning Model to Forecast Particulate Matter Concentration Levels in Seoul, South Korea</article-title>
          .
          <source>Atmosphere</source>
          <volume>11</volume>
          ,
          <issue>4</issue>
          (
          <year>2020</year>
          ). https://doi.org/10. 3390/atmos11040348
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>