localDescent | R Documentation |
Local descent used in S4VM
localDescent(instance, label, labelNum, unlabelNum, gamma, C, beta, alpha)
instance |
Design matrix |
label |
label vector |
labelNum |
Number of labeled objects |
unlabelNum |
Number of unlabeled objects |
gamma |
Parameter for RBF kernel |
C |
cost parameter for SVM |
beta |
Controls fraction of objects assigned to positive class |
alpha |
Controls fraction of objects assigned to positive class |
list(predictLabel=predictLabel,acc=acc,values=values,model=model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.