A Linear Programming Approach to Novelty Detection