Research Article

Similarity Measure Learning in Closed-Form Solution for Image Classification

Algorithm 1

The details of algorithm CSML.
Input: the sample set with labels
Output: the parameter set for the generalized correlation
Step  1. Construct the intrinsic graph and penalty graph ;
Step   2. Compute the affinity weights: and ;
Step   3. Construct the optimization problem (17);
Step   4. For To Do
     If Then
      Solve to obtain
     Else
      Compute and solve to obtain ;
Step  5. Final output , where .