You are required to read and agree to the below before accessing a full-text version of an article in the IDE article repository.

The full-text document you are about to access is subject to national and international copyright laws. In most cases (but not necessarily all) the consequence is that personal use is allowed given that the copyright owner is duly acknowledged and respected. All other use (typically) require an explicit permission (often in writing) by the copyright owner.

For the reports in this repository we specifically note that

  • the use of articles under IEEE copyright is governed by the IEEE copyright policy (available at
  • the use of articles under ACM copyright is governed by the ACM copyright policy (available at
  • technical reports and other articles issued by M‰lardalen University is free for personal use. For other use, the explicit consent of the authors is required
  • in other cases, please contact the copyright owner for detailed information

By accepting I agree to acknowledge and respect the rights of the copyright owner of the document I am about to access.

If you are in doubt, feel free to contact

Heuristic Random Forests (HRF) for Drift Compensation in Electronic Nose Applications


Atiq Ur Rehman, Amine Bermak

Publication Type:

Journal article


IEEE Sensors Journal


Electronic nose is an instrument equipped with chemical gas sensors and is used to sense, identify, and measure different odors. The problem arises when these sensors incorporate drift by the passage of time. The effect of drift is so adverse that the pattern recognition algorithms used for identification and measurement of odors fail to respond accurately. To overcome the challenge of drift in sensors, one of the most widely used techniques is system re-calibration, which is a cumbersome process. Keeping in mind the challenges of drift and issues of system re-calibration for real-life applications, this paper proposes a novel method to compensate drift in gas sensors with the following contributions: 1) the fitness function of a recursive metaheuristic optimization method is modified by embedding random forests learning for the quantification of six different gases under drift; 2) the proposed approach is able to compensate the long-term sensors drift without requiring any system re-calibration; and 3) the feature vector exploitation using particle swarm optimization reduces the computational complexity and increases the prediction accuracy of the system. A comparison is provided with different state-of-the-art approaches, and the proposed approach is found better in terms of prediction accuracy when tested on a benchmark dataset publically available.


author = {Atiq Ur Rehman and Amine Bermak},
title = {Heuristic Random Forests (HRF) for Drift Compensation in Electronic Nose Applications},
volume = { },
number = { },
pages = {1443--1453},
month = {November},
year = {2018},
journal = {IEEE Sensors Journal},
url = {}