Figure 8From: SVM-Fold: a tool for discriminative multi-class protein fold and superfamily recognitionPseudocode for the ranking perceptron algorithm used to learn code weighting. In the pseudocode, ν is the learning rate; n i = |{y j : y j = y i }| for balanced-loss, and n i = 1 for zero-one loss.Back to article page