Skip to main content
. Author manuscript; available in PMC: 2015 Apr 1.
Published in final edited form as: IEEE Trans Neural Netw Learn Syst. 2015 Mar;26(3):444–457. doi: 10.1109/TNNLS.2014.2315526

Algorithm 2 PVM Using the Hinge Loss

1: Perform k-means clustering on the given labeled and unlabeled samples, and use the cluster centers as prototypes.
2: Use (17) to compute H (and thus obtain its submatrices Hl and Hu).
3: Use the approximate graph Laplacian [(13) or (14)] to compute A in (24), and subsequently Q in (28).
4: Solve the QP in (27) to obtain β.
5: Obtain fυ from (29).
6: Prediction
 1) on the given unlabeled samples: sgn(fu)=sgn(Hufυ)
 2) on an unseen x:sgn([K(x,v1),,K(x,vr)]fυ).