Bio-inspired learning approach for electronic nose