Add an option to filter which records are classified.

Useful for performance purposes, i.e. don't try to classify records that don't have the features needed for classification.