Selection for Classification Based on Sequential Data