Using must-link and cannot-link constaints, PCCA (Mignon & Jury, 2012) learns a projection into a
low-dimensional space where the distances between pairs of data points respect the desired constraints,
exhibiting good generalization properties in presence of high dimensional data.
The Euclidean distance matrix in the projected space
Arguments
x
Data matrix of size n*d
d1
Number of extracted features.
ML
Matrix nbML x 2 of must-link constraints. Each row of ML contains the indices
of objects that belong to the same class.
CL
Matrix nbCL x 2 of cannot-link constraints. Each row of CL contains the indices
of objects that belong to different classes.
options
Parameters of the optimization algorithm (see harris).
beta
Sharpness parameter in the loss function (default: 1).
Author
Thierry Denoeux.
References
A. Mignon and F. Jurie. PCCA: a new approach for distance learning from sparse
pairwise constraints. In 2012 IEEE Conference on Computer Vision and Pattern Recognition,
pages 2666-2672, 2012.