1. A program for generating a two-class classification/prediction model, said program causing a computer to perform a process comprising: a) preparing as training data a sample set that contains a plurality of samples belonging to a first class and a plurality of samples belonging to a second class; b) generating, by performing discriminant analysis on said sample set, a first discriminant function having a high classification characteristic for said first class and a second discriminant function having a high classification characteristic for said second class; c) by classifying said sample set using said first and second discriminant functions, isolating any sample whose classification results by said first and second discriminant functions do not match; d) repeating said b) and c) by using a new sample set which is formed by grouping together any sample isolated in said c); and e) causing said d) to stop when the number of samples each of whose classification results do not match in said c) has decreased to or below a predetermined value or when the number of repetitions or processing time for repetitions has reached or exceeded a predetermined value.