View source: R/GRFClassifier.R
harmonic_function | R Documentation |
Direct R Translation of Xiaojin Zhu's Matlab code to determine harmonic solution
harmonic_function(W, Y)
W |
matrix; weight matrix where the fist L rows/column correspond to the labeled examples. |
Y |
matrix; l by c 0,1 matrix encoding class assignments for the labeled objects |
The harmonic solution, i.e. eq (5) in the ICML paper, with or without class mass normalization
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.