Classifying unseen test data with a filtered classifier