perClass Documentation
version 5.1 (31-May-2017)
SDMINDIST Minimum distance classifier

   P=SDMINDIST(DATA)

 INPUT
    DATA    SDDATA set with distances to prototypes

 OUTPUT
    P       Trained minimum distance classifier

 DESCRIPTION
 SDMINDIST is a minimum distance classifier on a data set with distances
 to prototypes (computed by SDPROX).  Output of applying trained SDMINDIST
 pipeline to new distance data is a data set with soft output providing
 one distance per class.

 SEE ALSO
 SDPROX

 EXAMPLES
 Training Spectral Angle Mapper classifier with 50 prototypes per class:
 >> p=randsubset([],50)*sdprox([],'SAM')*sdmindist*sddecide
 >> pd=tr*p; dec=ts*pd;