The weights are estimated to maximize the differences
between the means of classes. Generally, the classes with large
dissimilarities will have larger weights. Consequently, the
weights will be small when the means of classes are similar. In
this work, the number of LDA outputs is selected as p=15