A Mushroom Bodies inspired spiking network for classification and sequence learning