supervised LPP, This algorithm used kernel algorithm and label date when calculate the Euclidean distance D , ,by contract, another supervised LPP used label-data when calculate the weights matrix
you can change 'supervised' to 'unsupervised' inside the constructW.m