Feature selection in the classification of time-variant patterns