Training a support vector machine to classify signals in a real environment given clean training data