A novel neural network-based technique for smart gas sensors operating in a dynamic environment