Two-Stage Classification with Automatic Feature Selection for an Industrial Application